public static interface BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder |
advanced() |
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
authenticationType(String authenticationType)
The type of authentication for connection.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
backoffErrorThreshold(int backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
backoffErrorThreshold(String backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
backoffIdleThreshold(int backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
backoffIdleThreshold(String backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
backoffMultiplier(int backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
backoffMultiplier(String backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
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 BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
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 BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
clientId(String clientId)
Box application client ID.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
clientSecret(String clientSecret)
Box application client secret.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
delay(long delay)
Milliseconds before the next poll.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
delay(String delay)
Milliseconds before the next poll.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
enterpriseId(String enterpriseId)
The enterprise ID to use for an App Enterprise.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
greedy(boolean greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
greedy(String greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
inBody(String inBody)
Sets the name of a parameter to be passed in the exchange In Body.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
initialDelay(long initialDelay)
Milliseconds before the first poll starts.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
initialDelay(String initialDelay)
Milliseconds before the first poll starts.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
privateKeyFile(String privateKeyFile)
The private key for generating the JWT signature.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
privateKeyPassword(String privateKeyPassword)
The password for the private key.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
publicKeyId(String publicKeyId)
The ID for public key for validating the JWT signature.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
repeatCount(long repeatCount)
Specifies a maximum limit of number of fires.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
repeatCount(String repeatCount)
Specifies a maximum limit of number of fires.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
runLoggingLevel(String runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
scheduledExecutorService(String scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
scheduler(Object scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
scheduler(String scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
schedulerProperties(Map values)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
schedulerProperties(String key,
Object value)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
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 BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
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 BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
sslContextParameters(Object sslContextParameters)
To configure security using SSLContextParameters.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
sslContextParameters(String sslContextParameters)
To configure security using SSLContextParameters.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
startScheduler(boolean startScheduler)
Whether the scheduler should be auto started.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
startScheduler(String startScheduler)
Whether the scheduler should be auto started.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
timeUnit(String timeUnit)
Time unit for initialDelay and delay options.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
timeUnit(TimeUnit timeUnit)
Time unit for initialDelay and delay options.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
useFixedDelay(boolean useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
useFixedDelay(String useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
userId(String userId)
The user ID to use for an App User.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
userName(String userName)
Box user name, MUST be provided.
|
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder |
userPassword(String userPassword)
Box user password, MUST be provided if authSecureStorage is not set,
or returns null on first call.
|
default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder advanced()
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder clientId(String clientId)
java.lang.String type.
Group: commondefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder enterpriseId(String enterpriseId)
java.lang.String type.
Group: commondefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder inBody(String inBody)
java.lang.String type.
Group: commondefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder userId(String userId)
java.lang.String type.
Group: commondefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle)
boolean type.
Default: false
Group: consumerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle)
boolean type.
Default: false
Group: consumerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder authenticationType(String authenticationType)
java.lang.String type.
Default: APP_USER_AUTHENTICATION
Group: authenticationdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder backoffErrorThreshold(int backoffErrorThreshold)
int type.
Group: schedulerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder backoffErrorThreshold(String backoffErrorThreshold)
int type.
Group: schedulerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder backoffIdleThreshold(int backoffIdleThreshold)
int type.
Group: schedulerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder backoffIdleThreshold(String backoffIdleThreshold)
int type.
Group: schedulerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder backoffMultiplier(int backoffMultiplier)
int type.
Group: schedulerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder backoffMultiplier(String backoffMultiplier)
int type.
Group: schedulerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder delay(long delay)
long type.
Default: 500
Group: schedulerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder delay(String delay)
long type.
Default: 500
Group: schedulerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder greedy(boolean greedy)
boolean type.
Default: false
Group: schedulerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder greedy(String greedy)
boolean type.
Default: false
Group: schedulerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder initialDelay(long initialDelay)
long type.
Default: 1000
Group: schedulerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder initialDelay(String initialDelay)
long type.
Default: 1000
Group: schedulerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder repeatCount(long repeatCount)
long type.
Default: 0
Group: schedulerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder repeatCount(String repeatCount)
long type.
Default: 0
Group: schedulerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
org.apache.camel.LoggingLevel type.
Default: TRACE
Group: schedulerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder runLoggingLevel(String runLoggingLevel)
org.apache.camel.LoggingLevel type.
Default: TRACE
Group: schedulerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
java.util.concurrent.ScheduledExecutorService type.
Group: schedulerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder scheduledExecutorService(String scheduledExecutorService)
java.util.concurrent.ScheduledExecutorService type.
Group: schedulerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder scheduler(Object scheduler)
java.lang.Object type.
Default: none
Group: schedulerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder scheduler(String scheduler)
java.lang.Object type.
Default: none
Group: schedulerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder 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 BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder 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 BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder startScheduler(boolean startScheduler)
boolean type.
Default: true
Group: schedulerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder startScheduler(String startScheduler)
boolean type.
Default: true
Group: schedulerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder timeUnit(TimeUnit timeUnit)
java.util.concurrent.TimeUnit type.
Default: MILLISECONDS
Group: schedulerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder timeUnit(String timeUnit)
java.util.concurrent.TimeUnit type.
Default: MILLISECONDS
Group: schedulerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder useFixedDelay(boolean useFixedDelay)
boolean type.
Default: true
Group: schedulerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder useFixedDelay(String useFixedDelay)
boolean type.
Default: true
Group: schedulerdefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder clientSecret(String clientSecret)
java.lang.String type.
Group: securitydefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder privateKeyFile(String privateKeyFile)
java.lang.String type.
Group: securitydefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder privateKeyPassword(String privateKeyPassword)
java.lang.String type.
Group: securitydefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder publicKeyId(String publicKeyId)
java.lang.String type.
Group: securitydefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder sslContextParameters(Object sslContextParameters)
org.apache.camel.support.jsse.SSLContextParameters type.
Group: securitydefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder sslContextParameters(String sslContextParameters)
org.apache.camel.support.jsse.SSLContextParameters type.
Group: securitydefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder userName(String userName)
java.lang.String type.
Group: securitydefault BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder userPassword(String userPassword)
java.lang.String type.
Group: securityApache Camel