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)
appid - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder headerName(String headerName)
headerName - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder language(WeatherEndpointBuilderFactory.WeatherLanguage language)
language - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder language(String language)
language - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder mode(WeatherEndpointBuilderFactory.WeatherMode mode)
mode - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder mode(String mode)
mode - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder period(String period)
period - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder units(WeatherEndpointBuilderFactory.WeatherUnits units)
units - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder units(String units)
units - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder weatherApi(WeatherEndpointBuilderFactory.WeatherApi weatherApi)
weatherApi - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder weatherApi(String weatherApi)
weatherApi - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle)
sendEmptyMessageWhenIdle - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle)
sendEmptyMessageWhenIdle - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder cnt(Integer cnt)
cnt - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder cnt(String cnt)
cnt - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder ids(List<String> ids)
ids - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder ids(String ids)
ids - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder lat(String lat)
lat - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder location(String location)
location - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder lon(String lon)
lon - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder rightLon(String rightLon)
rightLon - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder topLat(String topLat)
topLat - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder zip(String zip)
zip - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder zoom(Integer zoom)
zoom - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder zoom(String zoom)
zoom - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder backoffErrorThreshold(int backoffErrorThreshold)
backoffErrorThreshold - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder backoffErrorThreshold(String backoffErrorThreshold)
backoffErrorThreshold - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder backoffIdleThreshold(int backoffIdleThreshold)
backoffIdleThreshold - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder backoffIdleThreshold(String backoffIdleThreshold)
backoffIdleThreshold - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder backoffMultiplier(int backoffMultiplier)
backoffMultiplier - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder backoffMultiplier(String backoffMultiplier)
backoffMultiplier - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder delay(long delay)
delay - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder delay(String delay)
delay - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder greedy(boolean greedy)
greedy - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder greedy(String greedy)
greedy - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder initialDelay(long initialDelay)
initialDelay - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder initialDelay(String initialDelay)
initialDelay - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder repeatCount(long repeatCount)
repeatCount - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder repeatCount(String repeatCount)
repeatCount - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
runLoggingLevel - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder runLoggingLevel(String runLoggingLevel)
runLoggingLevel - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
scheduledExecutorService - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder scheduledExecutorService(String scheduledExecutorService)
scheduledExecutorService - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder scheduler(Object scheduler)
scheduler - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder scheduler(String scheduler)
scheduler - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder schedulerProperties(String key, Object value)
key - the option keyvalue - the option valuedefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder schedulerProperties(Map values)
values - the valuesdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder startScheduler(boolean startScheduler)
startScheduler - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder startScheduler(String startScheduler)
startScheduler - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder timeUnit(TimeUnit timeUnit)
timeUnit - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder timeUnit(String timeUnit)
timeUnit - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder useFixedDelay(boolean useFixedDelay)
useFixedDelay - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder useFixedDelay(String useFixedDelay)
useFixedDelay - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder geolocationAccessKey(String geolocationAccessKey)
geolocationAccessKey - the value to setdefault WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder geolocationRequestHostIP(String geolocationRequestHostIP)
geolocationRequestHostIP - the value to setApache Camel