public static interface WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointConsumerBuilder |
advanced() |
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
appid(String appid)
APPID ID used to authenticate the user connected to the API Server.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
backoffErrorThreshold(int backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
backoffErrorThreshold(String backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
backoffIdleThreshold(int backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
backoffIdleThreshold(String backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
backoffMultiplier(int backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
backoffMultiplier(String backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
bridgeErrorHandler(String bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
cnt(Integer cnt)
Number of results to be found.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
cnt(String cnt)
Number of results to be found.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
delay(long delay)
Milliseconds before the next poll.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
delay(String delay)
Milliseconds before the next poll.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
geolocationAccessKey(String geolocationAccessKey)
The geolocation service now needs an accessKey to be used.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
geolocationRequestHostIP(String geolocationRequestHostIP)
The geolocation service now needs to specify the IP associated to the
accessKey you're using.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
greedy(boolean greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
greedy(String greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
headerName(String headerName)
To store the weather result in this header instead of the message
body.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
ids(List<String> ids)
List of id's of city/stations.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
ids(String ids)
List of id's of city/stations.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
initialDelay(long initialDelay)
Milliseconds before the first poll starts.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
initialDelay(String initialDelay)
Milliseconds before the first poll starts.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
language(String language)
Language of the response.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
language(WeatherEndpointBuilderFactory.WeatherLanguage language)
Language of the response.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
lat(String lat)
Latitude of location.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
location(String location)
If null Camel will try and determine your current location using the
geolocation of your ip address, else specify the city,country.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
lon(String lon)
Longitude of location.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
mode(String mode)
The output format of the weather data.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
mode(WeatherEndpointBuilderFactory.WeatherMode mode)
The output format of the weather data.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
period(String period)
If null, the current weather will be returned, else use values of 5,
7, 14 days.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
repeatCount(long repeatCount)
Specifies a maximum limit of number of fires.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
repeatCount(String repeatCount)
Specifies a maximum limit of number of fires.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
rightLon(String rightLon)
For boxed queries this is the right longtitude.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
runLoggingLevel(String runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
scheduledExecutorService(String scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
scheduler(Object scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
scheduler(String scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
schedulerProperties(Map values)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
schedulerProperties(String key,
Object value)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle)
If the polling consumer did not poll any files, you can enable this
option to send an empty message (no body) instead.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle)
If the polling consumer did not poll any files, you can enable this
option to send an empty message (no body) instead.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
startScheduler(boolean startScheduler)
Whether the scheduler should be auto started.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
startScheduler(String startScheduler)
Whether the scheduler should be auto started.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
timeUnit(String timeUnit)
Time unit for initialDelay and delay options.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
timeUnit(TimeUnit timeUnit)
Time unit for initialDelay and delay options.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
topLat(String topLat)
For boxed queries this is the top latitude.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
units(String units)
The units for temperature measurement.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
units(WeatherEndpointBuilderFactory.WeatherUnits units)
The units for temperature measurement.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
useFixedDelay(boolean useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
useFixedDelay(String useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
weatherApi(String weatherApi)
The API to use (current, forecast/3 hour, forecast daily, station).
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
weatherApi(WeatherEndpointBuilderFactory.WeatherApi weatherApi)
The API to use (current, forecast/3 hour, forecast daily, station).
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
zip(String zip)
Zip-code, e.g.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
zoom(Integer zoom)
For boxed queries this is the zoom.
|
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder |
zoom(String zoom)
For boxed queries this is the zoom.
|
default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointConsumerBuilder advanced()
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder appid(String appid)
java.lang.String type.
Required: true
Group: commondefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder headerName(String headerName)
java.lang.String type.
Group: commondefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder language(WeatherEndpointBuilderFactory.WeatherLanguage language)
org.apache.camel.component.weather.WeatherLanguage type.
Default: en
Group: commondefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder language(String language)
org.apache.camel.component.weather.WeatherLanguage type.
Default: en
Group: commondefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder mode(WeatherEndpointBuilderFactory.WeatherMode mode)
org.apache.camel.component.weather.WeatherMode type.
Default: JSON
Group: commondefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder mode(String mode)
org.apache.camel.component.weather.WeatherMode type.
Default: JSON
Group: commondefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder period(String period)
java.lang.String type.
Group: commondefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder units(WeatherEndpointBuilderFactory.WeatherUnits units)
org.apache.camel.component.weather.WeatherUnits type.
Group: commondefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder units(String units)
org.apache.camel.component.weather.WeatherUnits type.
Group: commondefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder weatherApi(WeatherEndpointBuilderFactory.WeatherApi weatherApi)
org.apache.camel.component.weather.WeatherApi type.
Group: commondefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder weatherApi(String weatherApi)
org.apache.camel.component.weather.WeatherApi type.
Group: commondefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle)
boolean type.
Default: false
Group: consumerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle)
boolean type.
Default: false
Group: consumerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder cnt(Integer cnt)
java.lang.Integer type.
Group: filterdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder cnt(String cnt)
java.lang.Integer
type.
Group: filterdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder ids(List<String> ids)
java.util.List<java.lang.String>
type.
Group: filterdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder ids(String ids)
java.util.List<java.lang.String> type.
Group: filterdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder lat(String lat)
java.lang.String type.
Group: filterdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder location(String location)
java.lang.String type.
Group: filterdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder lon(String lon)
java.lang.String type.
Group: filterdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder rightLon(String rightLon)
java.lang.String type.
Group: filterdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder topLat(String topLat)
java.lang.String type.
Group: filterdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder zip(String zip)
java.lang.String type.
Group: filterdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder zoom(Integer zoom)
java.lang.Integer type.
Group: filterdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder zoom(String zoom)
java.lang.Integer
type.
Group: filterdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder backoffErrorThreshold(int backoffErrorThreshold)
int type.
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder backoffErrorThreshold(String backoffErrorThreshold)
int type.
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder backoffIdleThreshold(int backoffIdleThreshold)
int type.
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder backoffIdleThreshold(String backoffIdleThreshold)
int type.
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder backoffMultiplier(int backoffMultiplier)
int type.
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder backoffMultiplier(String backoffMultiplier)
int type.
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder delay(long delay)
long type.
Default: 500
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder delay(String delay)
long type.
Default: 500
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder greedy(boolean greedy)
boolean type.
Default: false
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder greedy(String greedy)
boolean type.
Default: false
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder initialDelay(long initialDelay)
long type.
Default: 1000
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder initialDelay(String initialDelay)
long type.
Default: 1000
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder repeatCount(long repeatCount)
long type.
Default: 0
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder repeatCount(String repeatCount)
long type.
Default: 0
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
org.apache.camel.LoggingLevel type.
Default: TRACE
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder runLoggingLevel(String runLoggingLevel)
org.apache.camel.LoggingLevel type.
Default: TRACE
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
java.util.concurrent.ScheduledExecutorService type.
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder scheduledExecutorService(String scheduledExecutorService)
java.util.concurrent.ScheduledExecutorService type.
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder scheduler(Object scheduler)
java.lang.Object type.
Default: none
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder scheduler(String scheduler)
java.lang.Object type.
Default: none
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder schedulerProperties(String key, Object value)
java.util.Map<java.lang.String,
java.lang.Object> type.
The option is multivalued, and you can use the
schedulerProperties(String, Object) method to add a value (call the
method multiple times to set more values).
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder schedulerProperties(Map values)
java.util.Map<java.lang.String,
java.lang.Object> type.
The option is multivalued, and you can use the
schedulerProperties(String, Object) method to add a value (call the
method multiple times to set more values).
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder startScheduler(boolean startScheduler)
boolean type.
Default: true
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder startScheduler(String startScheduler)
boolean type.
Default: true
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder timeUnit(TimeUnit timeUnit)
java.util.concurrent.TimeUnit type.
Default: MILLISECONDS
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder timeUnit(String timeUnit)
java.util.concurrent.TimeUnit type.
Default: MILLISECONDS
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder useFixedDelay(boolean useFixedDelay)
boolean type.
Default: true
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder useFixedDelay(String useFixedDelay)
boolean type.
Default: true
Group: schedulerdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder geolocationAccessKey(String geolocationAccessKey)
java.lang.String type.
Required: true
Group: securitydefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder geolocationRequestHostIP(String geolocationRequestHostIP)
java.lang.String type.
Required: true
Group: securityApache Camel