public static interface IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default IronMQEndpointBuilderFactory.AdvancedIronMQEndpointConsumerBuilder |
advanced() |
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
backoffErrorThreshold(int backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
backoffErrorThreshold(String backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
backoffIdleThreshold(int backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
backoffIdleThreshold(String backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
backoffMultiplier(int backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
backoffMultiplier(String backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
batchDelete(boolean batchDelete)
Should messages be deleted in one batch.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
batchDelete(String batchDelete)
Should messages be deleted in one batch.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
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 IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
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 IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
client(Object client)
Reference to a io.iron.ironmq.Client in the Registry.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
client(String client)
Reference to a io.iron.ironmq.Client in the Registry.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
concurrentConsumers(int concurrentConsumers)
The number of concurrent consumers.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
concurrentConsumers(String concurrentConsumers)
The number of concurrent consumers.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
delay(long delay)
Milliseconds before the next poll.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
delay(String delay)
Milliseconds before the next poll.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
greedy(boolean greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
greedy(String greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
initialDelay(long initialDelay)
Milliseconds before the first poll starts.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
initialDelay(String initialDelay)
Milliseconds before the first poll starts.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
ironMQCloud(String ironMQCloud)
IronMq Cloud url.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
maxMessagesPerPoll(int maxMessagesPerPoll)
Number of messages to poll pr.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
maxMessagesPerPoll(String maxMessagesPerPoll)
Number of messages to poll pr.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
preserveHeaders(boolean preserveHeaders)
Should message headers be preserved when publishing messages.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
preserveHeaders(String preserveHeaders)
Should message headers be preserved when publishing messages.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
projectId(String projectId)
IronMQ projectId.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
repeatCount(long repeatCount)
Specifies a maximum limit of number of fires.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
repeatCount(String repeatCount)
Specifies a maximum limit of number of fires.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
runLoggingLevel(String runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
scheduledExecutorService(String scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
scheduler(Object scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
scheduler(String scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
schedulerProperties(Map values)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
schedulerProperties(String key,
Object value)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
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 IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
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 IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
startScheduler(boolean startScheduler)
Whether the scheduler should be auto started.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
startScheduler(String startScheduler)
Whether the scheduler should be auto started.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
timeout(int timeout)
After timeout (in seconds), item will be placed back onto the queue.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
timeout(String timeout)
After timeout (in seconds), item will be placed back onto the queue.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
timeUnit(String timeUnit)
Time unit for initialDelay and delay options.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
timeUnit(TimeUnit timeUnit)
Time unit for initialDelay and delay options.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
token(String token)
IronMQ token.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
useFixedDelay(boolean useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
useFixedDelay(String useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
wait(int wait)
Time in seconds to wait for a message to become available.
|
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder |
wait(String wait)
Time in seconds to wait for a message to become available.
|
default IronMQEndpointBuilderFactory.AdvancedIronMQEndpointConsumerBuilder advanced()
default IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder client(Object client)
client - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder client(String client)
client - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder ironMQCloud(String ironMQCloud)
ironMQCloud - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder preserveHeaders(boolean preserveHeaders)
preserveHeaders - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder preserveHeaders(String preserveHeaders)
preserveHeaders - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder projectId(String projectId)
projectId - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder token(String token)
token - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder batchDelete(boolean batchDelete)
batchDelete - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder batchDelete(String batchDelete)
batchDelete - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder concurrentConsumers(int concurrentConsumers)
concurrentConsumers - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder concurrentConsumers(String concurrentConsumers)
concurrentConsumers - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder maxMessagesPerPoll(int maxMessagesPerPoll)
maxMessagesPerPoll - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder maxMessagesPerPoll(String maxMessagesPerPoll)
maxMessagesPerPoll - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle)
sendEmptyMessageWhenIdle - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle)
sendEmptyMessageWhenIdle - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder timeout(int timeout)
timeout - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder timeout(String timeout)
timeout - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder wait(int wait)
wait - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder wait(String wait)
wait - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder backoffErrorThreshold(int backoffErrorThreshold)
backoffErrorThreshold - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder backoffErrorThreshold(String backoffErrorThreshold)
backoffErrorThreshold - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder backoffIdleThreshold(int backoffIdleThreshold)
backoffIdleThreshold - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder backoffIdleThreshold(String backoffIdleThreshold)
backoffIdleThreshold - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder backoffMultiplier(int backoffMultiplier)
backoffMultiplier - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder backoffMultiplier(String backoffMultiplier)
backoffMultiplier - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder delay(long delay)
delay - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder delay(String delay)
delay - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder greedy(boolean greedy)
greedy - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder greedy(String greedy)
greedy - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder initialDelay(long initialDelay)
initialDelay - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder initialDelay(String initialDelay)
initialDelay - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder repeatCount(long repeatCount)
repeatCount - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder repeatCount(String repeatCount)
repeatCount - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
runLoggingLevel - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder runLoggingLevel(String runLoggingLevel)
runLoggingLevel - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
scheduledExecutorService - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder scheduledExecutorService(String scheduledExecutorService)
scheduledExecutorService - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder scheduler(Object scheduler)
scheduler - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder scheduler(String scheduler)
scheduler - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder schedulerProperties(String key, Object value)
key - the option keyvalue - the option valuedefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder schedulerProperties(Map values)
values - the valuesdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder startScheduler(boolean startScheduler)
startScheduler - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder startScheduler(String startScheduler)
startScheduler - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder timeUnit(TimeUnit timeUnit)
timeUnit - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder timeUnit(String timeUnit)
timeUnit - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder useFixedDelay(boolean useFixedDelay)
useFixedDelay - the value to setdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder useFixedDelay(String useFixedDelay)
useFixedDelay - the value to setApache Camel