Interface WeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
WeatherEndpointBuilderFactory.AdvancedWeatherEndpointBuilder
- Enclosing interface:
- WeatherEndpointBuilderFactory
public static interface WeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilderAdvanced builder for endpoint producers for the Weather component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default WeatherEndpointBuilderFactory.WeatherEndpointProducerBuilderbasic()default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuildergeoLocationProvider(String geoLocationProvider)A custum geolocation provider to determine the longitude and latitude to use when no location information is set.default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuildergeoLocationProvider(org.apache.camel.component.weather.geolocation.GeoLocationProvider geoLocationProvider)A custum geolocation provider to determine the longitude and latitude to use when no location information is set.default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilderhttpClient(String httpClient)To use an existing configured http client (for example with http proxy).default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilderhttpClient(org.apache.http.impl.client.CloseableHttpClient httpClient)To use an existing configured http client (for example with http proxy).
-
-
-
Method Detail
-
basic
default WeatherEndpointBuilderFactory.WeatherEndpointProducerBuilder basic()
-
geoLocationProvider
default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder geoLocationProvider(org.apache.camel.component.weather.geolocation.GeoLocationProvider geoLocationProvider)
A custum geolocation provider to determine the longitude and latitude to use when no location information is set. The default implementaion uses the ipstack API and requires geolocationAccessKey and geolocationRequestHostIP. The option is a: <code>org.apache.camel.component.weather.geolocation.GeoLocationProvider</code> type. Group: advanced- Parameters:
geoLocationProvider- the value to set- Returns:
- the dsl builder
-
geoLocationProvider
default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder geoLocationProvider(String geoLocationProvider)
A custum geolocation provider to determine the longitude and latitude to use when no location information is set. The default implementaion uses the ipstack API and requires geolocationAccessKey and geolocationRequestHostIP. The option will be converted to a <code>org.apache.camel.component.weather.geolocation.GeoLocationProvider</code> type. Group: advanced- Parameters:
geoLocationProvider- the value to set- Returns:
- the dsl builder
-
httpClient
default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder httpClient(org.apache.http.impl.client.CloseableHttpClient httpClient)
To use an existing configured http client (for example with http proxy). The option is a: <code>org.apache.http.impl.client.CloseableHttpClient</code> type. Group: advanced- Parameters:
httpClient- the value to set- Returns:
- the dsl builder
-
httpClient
default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder httpClient(String httpClient)
To use an existing configured http client (for example with http proxy). The option will be converted to a <code>org.apache.http.impl.client.CloseableHttpClient</code> type. Group: advanced- Parameters:
httpClient- the value to set- Returns:
- the dsl builder
-
-