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.WeatherEndpointBuilder
basic()
default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointBuilder
geoLocationProvider(String geoLocationProvider)
A custum geolocation provider to determine the longitude and latitude to use when no location information is set.default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointBuilder
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.default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointBuilder
httpClient(String httpClient)
To use an existing configured http client (for example with http proxy).default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointBuilder
httpClient(org.apache.http.impl.client.CloseableHttpClient 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, getRawUri, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.WeatherEndpointBuilderFactory.AdvancedWeatherEndpointConsumerBuilder
bridgeErrorHandler, bridgeErrorHandler, exceptionHandler, exceptionHandler, exchangePattern, exchangePattern, pollStrategy, pollStrategy
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.WeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder
lazyStartProducer, lazyStartProducer
-
-
-
-
Method Detail
-
basic
default WeatherEndpointBuilderFactory.WeatherEndpointBuilder basic()
- Specified by:
basic
in interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointConsumerBuilder
- Specified by:
basic
in interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder
-
geoLocationProvider
default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointBuilder 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- Specified by:
geoLocationProvider
in interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointConsumerBuilder
- Specified by:
geoLocationProvider
in 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:
geoLocationProvider
in interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointConsumerBuilder
- Specified by:
geoLocationProvider
in interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder
- Parameters:
geoLocationProvider
- the value to set- Returns:
- the dsl builder
-
httpClient
default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointBuilder 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- Specified by:
httpClient
in interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointConsumerBuilder
- Specified by:
httpClient
in 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:
httpClient
in interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointConsumerBuilder
- Specified by:
httpClient
in interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder
- Parameters:
httpClient
- the value to set- Returns:
- the dsl builder
-
-