public static interface Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default Jt400EndpointBuilderFactory.AdvancedJt400EndpointConsumerBuilder |
advanced() |
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
backoffErrorThreshold(int backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
backoffErrorThreshold(String backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
backoffIdleThreshold(int backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
backoffIdleThreshold(String backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
backoffMultiplier(int backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
backoffMultiplier(String backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
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 Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
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 Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
ccsid(int ccsid)
Sets the CCSID to use for the connection with the IBM i system.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
ccsid(String ccsid)
Sets the CCSID to use for the connection with the IBM i system.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
delay(long delay)
Milliseconds before the next poll.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
delay(String delay)
Milliseconds before the next poll.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
format(Jt400EndpointBuilderFactory.Format format)
Sets the data format for sending messages.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
format(String format)
Sets the data format for sending messages.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
greedy(boolean greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
greedy(String greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
guiAvailable(boolean guiAvailable)
Sets whether IBM i prompting is enabled in the environment running
Camel.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
guiAvailable(String guiAvailable)
Sets whether IBM i prompting is enabled in the environment running
Camel.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
initialDelay(long initialDelay)
Milliseconds before the first poll starts.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
initialDelay(String initialDelay)
Milliseconds before the first poll starts.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
keyed(boolean keyed)
Whether to use keyed or non-keyed data queues.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
keyed(String keyed)
Whether to use keyed or non-keyed data queues.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
messageAction(Jt400EndpointBuilderFactory.MessageAction messageAction)
Action to be taken on messages when read from a message queue.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
messageAction(String messageAction)
Action to be taken on messages when read from a message queue.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
readTimeout(int readTimeout)
Timeout in millis the consumer will wait while trying to read a new
message of the data queue.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
readTimeout(String readTimeout)
Timeout in millis the consumer will wait while trying to read a new
message of the data queue.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
repeatCount(long repeatCount)
Specifies a maximum limit of number of fires.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
repeatCount(String repeatCount)
Specifies a maximum limit of number of fires.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
runLoggingLevel(String runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
scheduledExecutorService(String scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
scheduler(Object scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
scheduler(String scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
schedulerProperties(Map values)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
schedulerProperties(String key,
Object value)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
searchKey(String searchKey)
Search key for keyed data queues.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
searchType(Jt400EndpointBuilderFactory.SearchType searchType)
Search type such as EQ for equal etc.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
searchType(String searchType)
Search type such as EQ for equal etc.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
secured(boolean secured)
Whether connections to IBM i are secured with SSL.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
secured(String secured)
Whether connections to IBM i are secured with SSL.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
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 Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
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 Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
startScheduler(boolean startScheduler)
Whether the scheduler should be auto started.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
startScheduler(String startScheduler)
Whether the scheduler should be auto started.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
timeUnit(String timeUnit)
Time unit for initialDelay and delay options.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
timeUnit(TimeUnit timeUnit)
Time unit for initialDelay and delay options.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
useFixedDelay(boolean useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder |
useFixedDelay(String useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default Jt400EndpointBuilderFactory.AdvancedJt400EndpointConsumerBuilder advanced()
default Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder ccsid(int ccsid)
int type.
Group: commondefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder ccsid(String ccsid)
int type.
Group: commondefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder format(Jt400EndpointBuilderFactory.Format format)
org.apache.camel.component.jt400.Jt400Configuration$Format type.
Default: text
Group: commondefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder format(String format)
org.apache.camel.component.jt400.Jt400Configuration$Format type.
Default: text
Group: commondefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder guiAvailable(boolean guiAvailable)
boolean type.
Default: false
Group: commondefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder guiAvailable(String guiAvailable)
boolean type.
Default: false
Group: commondefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder keyed(boolean keyed)
boolean type.
Default: false
Group: commondefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder keyed(String keyed)
boolean type.
Default: false
Group: commondefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder searchKey(String searchKey)
java.lang.String type.
Group: commondefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder messageAction(Jt400EndpointBuilderFactory.MessageAction messageAction)
org.apache.camel.component.jt400.Jt400Configuration$MessageAction type.
Default: OLD
Group: consumerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder messageAction(String messageAction)
org.apache.camel.component.jt400.Jt400Configuration$MessageAction type.
Default: OLD
Group: consumerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder readTimeout(int readTimeout)
int type.
Default: 30000
Group: consumerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder readTimeout(String readTimeout)
int type.
Default: 30000
Group: consumerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder searchType(Jt400EndpointBuilderFactory.SearchType searchType)
org.apache.camel.component.jt400.Jt400Configuration$SearchType type.
Default: EQ
Group: consumerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder searchType(String searchType)
org.apache.camel.component.jt400.Jt400Configuration$SearchType type.
Default: EQ
Group: consumerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle)
boolean type.
Default: false
Group: consumerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle)
boolean type.
Default: false
Group: consumerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder backoffErrorThreshold(int backoffErrorThreshold)
int type.
Group: schedulerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder backoffErrorThreshold(String backoffErrorThreshold)
int type.
Group: schedulerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder backoffIdleThreshold(int backoffIdleThreshold)
int type.
Group: schedulerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder backoffIdleThreshold(String backoffIdleThreshold)
int type.
Group: schedulerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder backoffMultiplier(int backoffMultiplier)
int type.
Group: schedulerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder backoffMultiplier(String backoffMultiplier)
int type.
Group: schedulerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder delay(long delay)
long type.
Default: 500
Group: schedulerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder delay(String delay)
long type.
Default: 500
Group: schedulerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder greedy(boolean greedy)
boolean type.
Default: false
Group: schedulerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder greedy(String greedy)
boolean type.
Default: false
Group: schedulerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder initialDelay(long initialDelay)
long type.
Default: 1000
Group: schedulerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder initialDelay(String initialDelay)
long type.
Default: 1000
Group: schedulerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder repeatCount(long repeatCount)
long type.
Default: 0
Group: schedulerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder repeatCount(String repeatCount)
long type.
Default: 0
Group: schedulerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
org.apache.camel.LoggingLevel type.
Default: TRACE
Group: schedulerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder runLoggingLevel(String runLoggingLevel)
org.apache.camel.LoggingLevel type.
Default: TRACE
Group: schedulerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
java.util.concurrent.ScheduledExecutorService type.
Group: schedulerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder scheduledExecutorService(String scheduledExecutorService)
java.util.concurrent.ScheduledExecutorService type.
Group: schedulerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder scheduler(Object scheduler)
java.lang.Object type.
Default: none
Group: schedulerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder scheduler(String scheduler)
java.lang.Object type.
Default: none
Group: schedulerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder 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 Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder 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 Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder startScheduler(boolean startScheduler)
boolean type.
Default: true
Group: schedulerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder startScheduler(String startScheduler)
boolean type.
Default: true
Group: schedulerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder timeUnit(TimeUnit timeUnit)
java.util.concurrent.TimeUnit type.
Default: MILLISECONDS
Group: schedulerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder timeUnit(String timeUnit)
java.util.concurrent.TimeUnit type.
Default: MILLISECONDS
Group: schedulerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder useFixedDelay(boolean useFixedDelay)
boolean type.
Default: true
Group: schedulerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder useFixedDelay(String useFixedDelay)
boolean type.
Default: true
Group: schedulerdefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder secured(boolean secured)
boolean type.
Default: false
Group: securitydefault Jt400EndpointBuilderFactory.Jt400EndpointConsumerBuilder secured(String secured)
boolean type.
Default: false
Group: securityApache Camel