Class WeatherEndpointBuilderFactory.WeatherHeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.WeatherEndpointBuilderFactory.WeatherHeaderNameBuilder
- Enclosing interface:
- WeatherEndpointBuilderFactory
The builder of headers' name for the Weather component.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionUsed by the producer to override the endpoint location and use the location from this header instead.The original query URL sent to the Open Weather Map site.
-
Constructor Details
-
WeatherHeaderNameBuilder
public WeatherHeaderNameBuilder()
-
-
Method Details
-
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
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
.
-