Interface WeatherEndpointBuilderFactory.AdvancedWeatherEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver,org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver,WeatherEndpointBuilderFactory.AdvancedWeatherEndpointConsumerBuilder,WeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder
- Enclosing interface:
- WeatherEndpointBuilderFactory
public static interface WeatherEndpointBuilderFactory.AdvancedWeatherEndpointBuilder extends WeatherEndpointBuilderFactory.AdvancedWeatherEndpointConsumerBuilder, WeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder
Advanced builder for endpoint for the Weather component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default WeatherEndpointBuilderFactory.WeatherEndpointBuilderbasic()default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointBuildergeoLocationProvider(Object geoLocationProvider)A custum geolocation provider to determine the longitude and latitude to use when no location information is set.default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointBuildergeoLocationProvider(String geoLocationProvider)A custum geolocation provider to determine the longitude and latitude to use when no location information is set.default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointBuilderhttpClient(Object httpClient)To use an existing configured http client (for example with http proxy).default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointBuilderhttpClient(String httpClient)To use an existing configured http client (for example with http proxy).-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getUri
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.WeatherEndpointBuilderFactory.AdvancedWeatherEndpointConsumerBuilder
exceptionHandler, exceptionHandler, exchangePattern, exchangePattern, pollStrategy, pollStrategy
-
-
-
-
Method Detail
-
basic
default WeatherEndpointBuilderFactory.WeatherEndpointBuilder basic()
- Specified by:
basicin interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointConsumerBuilder- Specified by:
basicin interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder
-
geoLocationProvider
default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointBuilder 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- Specified by:
geoLocationProviderin interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointConsumerBuilder- Specified by:
geoLocationProviderin interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder- Parameters:
geoLocationProvider- the value to set- Returns:
- the dsl builder
-
geoLocationProvider
default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointBuilder 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- Specified by:
geoLocationProviderin interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointConsumerBuilder- Specified by:
geoLocationProviderin interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder- Parameters:
geoLocationProvider- the value to set- Returns:
- the dsl builder
-
httpClient
default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointBuilder 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- Specified by:
httpClientin interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointConsumerBuilder- Specified by:
httpClientin interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder- Parameters:
httpClient- the value to set- Returns:
- the dsl builder
-
httpClient
default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointBuilder 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- Specified by:
httpClientin interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointConsumerBuilder- Specified by:
httpClientin interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder- Parameters:
httpClient- the value to set- Returns:
- the dsl builder
-
-