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 Summary
Constructors Constructor Description WeatherHeaderNameBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
weatherLocation()
Used by the producer to override the endpoint location and use the location from this header instead.String
weatherQuery()
The original query URL sent to the Open Weather Map site.
-
-
-
Method Detail
-
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
.
-
-