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.EndpointProducerBuilder
Advanced builder for endpoint producers for the Weather component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default WeatherEndpointBuilderFactory.WeatherEndpointProducerBuilder
basic()
default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder
geoLocationProvider(Object geoLocationProvider)
A custum geolocation provider to determine the longitude and latitude to use when no location information is set.default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder
geoLocationProvider(String geoLocationProvider)
A custum geolocation provider to determine the longitude and latitude to use when no location information is set.default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder
httpClient(Object httpClient)
To use an existing configured http client (for example with http proxy).default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder
httpClient(String 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(Object 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(Object 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
-
-