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).default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder
synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder
synchronous(String synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).
-
-
-
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:org.apache.camel.component.weather.geolocation.GeoLocationProvider
type. Group: advanced
-
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 aorg.apache.camel.component.weather.geolocation.GeoLocationProvider
type. Group: advanced
-
httpClient
default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder 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
-
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 aorg.apache.http.impl.client.CloseableHttpClient
type. Group: advanced
-
synchronous
default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder 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
-
synchronous
default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointProducerBuilder 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
-
-