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)
io.iron.ironmq.Client type.
Group: commondefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder client(String client)
io.iron.ironmq.Client
type.
Group: commondefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder ironMQCloud(String ironMQCloud)
java.lang.String type.
Default: https://mq-aws-us-east-1-1.iron.io
Group: commondefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder preserveHeaders(boolean preserveHeaders)
boolean type.
Default: false
Group: commondefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder preserveHeaders(String preserveHeaders)
boolean type.
Default: false
Group: commondefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder projectId(String projectId)
java.lang.String type.
Group: commondefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder token(String token)
java.lang.String type.
Group: commondefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder batchDelete(boolean batchDelete)
boolean type.
Default: false
Group: consumerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder batchDelete(String batchDelete)
boolean type.
Default: false
Group: consumerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder concurrentConsumers(int concurrentConsumers)
int type.
Default: 1
Group: consumerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder concurrentConsumers(String concurrentConsumers)
int type.
Default: 1
Group: consumerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder maxMessagesPerPoll(int maxMessagesPerPoll)
int type.
Default: 1
Group: consumerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder maxMessagesPerPoll(String maxMessagesPerPoll)
int type.
Default: 1
Group: consumerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle)
boolean type.
Default: false
Group: consumerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle)
boolean type.
Default: false
Group: consumerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder timeout(int timeout)
int type.
Default: 60
Group: consumerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder timeout(String timeout)
int type.
Default: 60
Group: consumerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder wait(int wait)
int type.
Group: consumerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder wait(String wait)
int type.
Group: consumerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder backoffErrorThreshold(int backoffErrorThreshold)
int type.
Group: schedulerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder backoffErrorThreshold(String backoffErrorThreshold)
int type.
Group: schedulerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder backoffIdleThreshold(int backoffIdleThreshold)
int type.
Group: schedulerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder backoffIdleThreshold(String backoffIdleThreshold)
int type.
Group: schedulerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder backoffMultiplier(int backoffMultiplier)
int type.
Group: schedulerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder backoffMultiplier(String backoffMultiplier)
int type.
Group: schedulerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder delay(long delay)
long type.
Default: 500
Group: schedulerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder delay(String delay)
long type.
Default: 500
Group: schedulerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder greedy(boolean greedy)
boolean type.
Default: false
Group: schedulerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder greedy(String greedy)
boolean type.
Default: false
Group: schedulerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder initialDelay(long initialDelay)
long type.
Default: 1000
Group: schedulerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder initialDelay(String initialDelay)
long type.
Default: 1000
Group: schedulerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder repeatCount(long repeatCount)
long type.
Default: 0
Group: schedulerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder repeatCount(String repeatCount)
long type.
Default: 0
Group: schedulerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
org.apache.camel.LoggingLevel type.
Default: TRACE
Group: schedulerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder runLoggingLevel(String runLoggingLevel)
org.apache.camel.LoggingLevel type.
Default: TRACE
Group: schedulerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
java.util.concurrent.ScheduledExecutorService type.
Group: schedulerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder scheduledExecutorService(String scheduledExecutorService)
java.util.concurrent.ScheduledExecutorService type.
Group: schedulerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder scheduler(Object scheduler)
java.lang.Object type.
Default: none
Group: schedulerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder scheduler(String scheduler)
java.lang.Object type.
Default: none
Group: schedulerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder 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 IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder 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 IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder startScheduler(boolean startScheduler)
boolean type.
Default: true
Group: schedulerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder startScheduler(String startScheduler)
boolean type.
Default: true
Group: schedulerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder timeUnit(TimeUnit timeUnit)
java.util.concurrent.TimeUnit type.
Default: MILLISECONDS
Group: schedulerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder timeUnit(String timeUnit)
java.util.concurrent.TimeUnit type.
Default: MILLISECONDS
Group: schedulerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder useFixedDelay(boolean useFixedDelay)
boolean type.
Default: true
Group: schedulerdefault IronMQEndpointBuilderFactory.IronMQEndpointConsumerBuilder useFixedDelay(String useFixedDelay)
boolean type.
Default: true
Group: schedulerApache Camel