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
Modifier and TypeMethodDescriptionbasic()
geoLocationProvider
(String geoLocationProvider) A custum geolocation provider to determine the longitude and latitude to use when no location information is set.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.httpClient
(String httpClient) To use an existing configured http client (for example with http proxy).httpClient
(org.apache.hc.client5.http.impl.classic.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.EndpointConsumerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
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 Details
-
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.hc.client5.http.impl.classic.CloseableHttpClient httpClient) To use an existing configured http client (for example with http proxy). The option is a: <code>org.apache.hc.client5.http.impl.classic.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
To use an existing configured http client (for example with http proxy). The option will be converted to a <code>org.apache.hc.client5.http.impl.classic.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
-