Interface WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
WeatherEndpointBuilderFactory.WeatherEndpointBuilder
- Enclosing interface:
- WeatherEndpointBuilderFactory
public static interface WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the Weather component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method 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(String ids)
List of id's of city/stations.default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder
ids(List<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(String runLoggingLevel)
The consumer logs a start/complete log line when it polls.default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder
runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
The consumer logs a start/complete log line when it polls.default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder
scheduledExecutorService(String scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the consumer.default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder
scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the consumer.default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder
scheduler(String scheduler)
To use a cron scheduler from either camel-spring or camel-quartz component.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
schedulerProperties(Map values)
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 be use (current, forecast/3 hour, forecast daily, station).default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder
weatherApi(WeatherEndpointBuilderFactory.WeatherApi weatherApi)
The API to be 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.
-
-
-
Method Detail
-
advanced
default WeatherEndpointBuilderFactory.AdvancedWeatherEndpointConsumerBuilder advanced()
-
appid
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder appid(String appid)
APPID ID used to authenticate the user connected to the API Server. The option is a:java.lang.String
type. Required: true Group: common
-
headerName
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder headerName(String headerName)
To store the weather result in this header instead of the message body. This is useable if you want to keep current message body as-is. The option is a:java.lang.String
type. Group: common
-
language
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder language(WeatherEndpointBuilderFactory.WeatherLanguage language)
Language of the response. The option is a:org.apache.camel.component.weather.WeatherLanguage
type. Default: en Group: common
-
language
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder language(String language)
Language of the response. The option will be converted to aorg.apache.camel.component.weather.WeatherLanguage
type. Default: en Group: common
-
mode
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder mode(WeatherEndpointBuilderFactory.WeatherMode mode)
The output format of the weather data. The option is a:org.apache.camel.component.weather.WeatherMode
type. Default: JSON Group: common
-
mode
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder mode(String mode)
The output format of the weather data. The option will be converted to aorg.apache.camel.component.weather.WeatherMode
type. Default: JSON Group: common
-
period
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder period(String period)
If null, the current weather will be returned, else use values of 5, 7, 14 days. Only the numeric value for the forecast period is actually parsed, so spelling, capitalisation of the time period is up to you (its ignored). The option is a:java.lang.String
type. Group: common
-
units
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder units(WeatherEndpointBuilderFactory.WeatherUnits units)
The units for temperature measurement. The option is a:org.apache.camel.component.weather.WeatherUnits
type. Group: common
-
units
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder units(String units)
The units for temperature measurement. The option will be converted to aorg.apache.camel.component.weather.WeatherUnits
type. Group: common
-
weatherApi
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder weatherApi(WeatherEndpointBuilderFactory.WeatherApi weatherApi)
The API to be use (current, forecast/3 hour, forecast daily, station). The option is a:org.apache.camel.component.weather.WeatherApi
type. Group: common
-
weatherApi
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder weatherApi(String weatherApi)
The API to be use (current, forecast/3 hour, forecast daily, station). The option will be converted to aorg.apache.camel.component.weather.WeatherApi
type. Group: common
-
bridgeErrorHandler
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. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a:boolean
type. Default: false Group: consumer
-
bridgeErrorHandler
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. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option will be converted to aboolean
type. Default: false Group: consumer
-
sendEmptyMessageWhenIdle
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. The option is a:boolean
type. Default: false Group: consumer
-
sendEmptyMessageWhenIdle
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. The option will be converted to aboolean
type. Default: false Group: consumer
-
cnt
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder cnt(Integer cnt)
Number of results to be found. The option is a:java.lang.Integer
type. Group: filter
-
cnt
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder cnt(String cnt)
Number of results to be found. The option will be converted to ajava.lang.Integer
type. Group: filter
-
ids
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder ids(List<String> ids)
List of id's of city/stations. You can separate multiple ids by comma. The option is a:java.util.List<java.lang.String>
type. Group: filter
-
ids
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder ids(String ids)
List of id's of city/stations. You can separate multiple ids by comma. The option will be converted to ajava.util.List<java.lang.String>
type. Group: filter
-
lat
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder lat(String lat)
Latitude of location. You can use lat and lon options instead of location. For boxed queries this is the bottom latitude. The option is a:java.lang.String
type. Group: filter
-
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. For well known city names, Open Weather Map will determine the best fit, but multiple results may be returned. Hence specifying and country as well will return more accurate data. If you specify current as the location then the component will try to get the current latitude and longitude and use that to get the weather details. You can use lat and lon options instead of location. The option is a:java.lang.String
type. Group: filter
-
lon
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder lon(String lon)
Longitude of location. You can use lat and lon options instead of location. For boxed queries this is the left longtitude. The option is a:java.lang.String
type. Group: filter
-
rightLon
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder rightLon(String rightLon)
For boxed queries this is the right longtitude. Needs to be used in combination with topLat and zoom. The option is a:java.lang.String
type. Group: filter
-
topLat
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder topLat(String topLat)
For boxed queries this is the top latitude. Needs to be used in combination with rightLon and zoom. The option is a:java.lang.String
type. Group: filter
-
zip
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder zip(String zip)
Zip-code, e.g. 94040,us. The option is a:java.lang.String
type. Group: filter
-
zoom
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder zoom(Integer zoom)
For boxed queries this is the zoom. Needs to be used in combination with rightLon and topLat. The option is a:java.lang.Integer
type. Group: filter
-
zoom
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder zoom(String zoom)
For boxed queries this is the zoom. Needs to be used in combination with rightLon and topLat. The option will be converted to ajava.lang.Integer
type. Group: filter
-
backoffErrorThreshold
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. The option is a:int
type. Group: scheduler
-
backoffErrorThreshold
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. The option will be converted to aint
type. Group: scheduler
-
backoffIdleThreshold
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder backoffIdleThreshold(int backoffIdleThreshold)
The number of subsequent idle polls that should happen before the backoffMultipler should kick-in. The option is a:int
type. Group: scheduler
-
backoffIdleThreshold
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder backoffIdleThreshold(String backoffIdleThreshold)
The number of subsequent idle polls that should happen before the backoffMultipler should kick-in. The option will be converted to aint
type. Group: scheduler
-
backoffMultiplier
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. The multiplier is then the number of polls that will be skipped before the next actual attempt is happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured. The option is a:int
type. Group: scheduler
-
backoffMultiplier
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. The multiplier is then the number of polls that will be skipped before the next actual attempt is happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured. The option will be converted to aint
type. Group: scheduler
-
delay
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder delay(long delay)
Milliseconds before the next poll. The option is a:long
type. Default: 500 Group: scheduler
-
delay
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder delay(String delay)
Milliseconds before the next poll. The option will be converted to along
type. Default: 500 Group: scheduler
-
greedy
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. The option is a:boolean
type. Default: false Group: scheduler
-
greedy
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. The option will be converted to aboolean
type. Default: false Group: scheduler
-
initialDelay
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder initialDelay(long initialDelay)
Milliseconds before the first poll starts. The option is a:long
type. Default: 1000 Group: scheduler
-
initialDelay
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder initialDelay(String initialDelay)
Milliseconds before the first poll starts. The option will be converted to along
type. Default: 1000 Group: scheduler
-
repeatCount
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder repeatCount(long repeatCount)
Specifies a maximum limit of number of fires. So if you set it to 1, the scheduler will only fire once. If you set it to 5, it will only fire five times. A value of zero or negative means fire forever. The option is a:long
type. Default: 0 Group: scheduler
-
repeatCount
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder repeatCount(String repeatCount)
Specifies a maximum limit of number of fires. So if you set it to 1, the scheduler will only fire once. If you set it to 5, it will only fire five times. A value of zero or negative means fire forever. The option will be converted to along
type. Default: 0 Group: scheduler
-
runLoggingLevel
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that. The option is a:org.apache.camel.LoggingLevel
type. Default: TRACE Group: scheduler
-
runLoggingLevel
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder runLoggingLevel(String runLoggingLevel)
The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that. The option will be converted to aorg.apache.camel.LoggingLevel
type. Default: TRACE Group: scheduler
-
scheduledExecutorService
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the consumer. By default each consumer has its own single threaded thread pool. The option is a:java.util.concurrent.ScheduledExecutorService
type. Group: scheduler
-
scheduledExecutorService
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder scheduledExecutorService(String scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the consumer. By default each consumer has its own single threaded thread pool. The option will be converted to ajava.util.concurrent.ScheduledExecutorService
type. Group: scheduler
-
scheduler
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder scheduler(String scheduler)
To use a cron scheduler from either camel-spring or camel-quartz component. The option is a:java.lang.String
type. Default: none Group: scheduler
-
schedulerProperties
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. The option is a: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: scheduler
-
schedulerProperties
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder schedulerProperties(Map values)
To configure additional properties when using a custom scheduler or any of the Quartz, Spring based scheduler. The option is a: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: scheduler
-
startScheduler
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder startScheduler(boolean startScheduler)
Whether the scheduler should be auto started. The option is a:boolean
type. Default: true Group: scheduler
-
startScheduler
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder startScheduler(String startScheduler)
Whether the scheduler should be auto started. The option will be converted to aboolean
type. Default: true Group: scheduler
-
timeUnit
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder timeUnit(TimeUnit timeUnit)
Time unit for initialDelay and delay options. The option is a:java.util.concurrent.TimeUnit
type. Default: MILLISECONDS Group: scheduler
-
timeUnit
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder timeUnit(String timeUnit)
Time unit for initialDelay and delay options. The option will be converted to ajava.util.concurrent.TimeUnit
type. Default: MILLISECONDS Group: scheduler
-
useFixedDelay
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder useFixedDelay(boolean useFixedDelay)
Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details. The option is a:boolean
type. Default: true Group: scheduler
-
useFixedDelay
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder useFixedDelay(String useFixedDelay)
Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details. The option will be converted to aboolean
type. Default: true Group: scheduler
-
geolocationAccessKey
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder geolocationAccessKey(String geolocationAccessKey)
The geolocation service now needs an accessKey to be used. The option is a:java.lang.String
type. Required: true Group: security
-
geolocationRequestHostIP
default WeatherEndpointBuilderFactory.WeatherEndpointConsumerBuilder geolocationRequestHostIP(String geolocationRequestHostIP)
The geolocation service now needs to specify the IP associated to the accessKey you're using. The option is a:java.lang.String
type. Required: true Group: security
-
-