Class WeatherEndpointBuilderFactory.WeatherHeaderNameBuilder

java.lang.Object
org.apache.camel.builder.endpoint.dsl.WeatherEndpointBuilderFactory.WeatherHeaderNameBuilder
Enclosing interface:
WeatherEndpointBuilderFactory

public static class WeatherEndpointBuilderFactory.WeatherHeaderNameBuilder extends Object
The builder of headers' name for the Weather component.
  • Constructor Details

    • WeatherHeaderNameBuilder

      public WeatherHeaderNameBuilder()
  • Method Details

    • weatherLocation

      public String weatherLocation()
      Used by the producer to override the endpoint location and use the location from this header instead. The option is a: String type. Group: producer
      Returns:
      the name of the header WeatherLocation.
    • weatherQuery

      public String weatherQuery()
      The original query URL sent to the Open Weather Map site. The option is a: String type. Group: common
      Returns:
      the name of the header WeatherQuery.