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(Object geoLocationProvider)
A custum geolocation provider to determine the longitude and latitude to use when no location information is set.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
httpClient(Object httpClient)
To use an existing configured http client (for example with http proxy).default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointBuilder
httpClient(String httpClient)
To use an existing configured http client (for example with http proxy).default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointBuilder
synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointBuilder
synchronous(String synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, 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:
basic
in interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointConsumerBuilder
- Specified by:
basic
in 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:org.apache.camel.component.weather.geolocation.GeoLocationProvider
type. Group: advanced- Specified by:
geoLocationProvider
in interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointConsumerBuilder
- Specified by:
geoLocationProvider
in interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder
-
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 aorg.apache.camel.component.weather.geolocation.GeoLocationProvider
type. Group: advanced- Specified by:
geoLocationProvider
in interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointConsumerBuilder
- Specified by:
geoLocationProvider
in interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder
-
httpClient
default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointBuilder httpClient(Object httpClient)
To use an existing configured http client (for example with http proxy). The option is a:org.apache.http.impl.client.CloseableHttpClient
type. Group: advanced- Specified by:
httpClient
in interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointConsumerBuilder
- Specified by:
httpClient
in interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder
-
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 aorg.apache.http.impl.client.CloseableHttpClient
type. Group: advanced- Specified by:
httpClient
in interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointConsumerBuilder
- Specified by:
httpClient
in interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder
-
synchronous
default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointBuilder synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). The option is a:boolean
type. Default: false Group: advanced- Specified by:
synchronous
in interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointConsumerBuilder
- Specified by:
synchronous
in interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder
-
synchronous
default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointBuilder synchronous(String synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). The option will be converted to aboolean
type. Default: false Group: advanced- Specified by:
synchronous
in interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointConsumerBuilder
- Specified by:
synchronous
in interfaceWeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder
-
-