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 Detail

      • 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: <code>org.apache.camel.component.weather.geolocation.GeoLocationProvider</code> type. Group: advanced
        Parameters:
        geoLocationProvider - the value to set
        Returns:
        the dsl builder
      • 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 a <code>org.apache.camel.component.weather.geolocation.GeoLocationProvider</code> type. Group: advanced
        Parameters:
        geoLocationProvider - the value to set
        Returns:
        the dsl builder
      • 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 a <code>org.apache.http.impl.client.CloseableHttpClient</code> type. Group: advanced
        Parameters:
        httpClient - the value to set
        Returns:
        the dsl builder