public static interface ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default ElsqlEndpointBuilderFactory.AdvancedElsqlEndpointConsumerBuilder |
advanced() |
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
allowNamedParameters(boolean allowNamedParameters)
Whether to allow using named parameters in the queries.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
allowNamedParameters(String allowNamedParameters)
Whether to allow using named parameters in the queries.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
backoffErrorThreshold(int backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
backoffErrorThreshold(String backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
backoffIdleThreshold(int backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
backoffIdleThreshold(String backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
backoffMultiplier(int backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
backoffMultiplier(String backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
breakBatchOnConsumeFail(boolean breakBatchOnConsumeFail)
Sets whether to break batch if onConsume failed.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
breakBatchOnConsumeFail(String breakBatchOnConsumeFail)
Sets whether to break batch if onConsume failed.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
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 ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
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 ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
databaseVendor(ElsqlEndpointBuilderFactory.ElSqlDatabaseVendor databaseVendor)
To use a vendor specific com.opengamma.elsql.ElSqlConfig.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
databaseVendor(String databaseVendor)
To use a vendor specific com.opengamma.elsql.ElSqlConfig.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
dataSource(Object dataSource)
Sets the DataSource to use to communicate with the database.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
dataSource(String dataSource)
Sets the DataSource to use to communicate with the database.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
dataSourceRef(String dataSourceRef)
Deprecated.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
delay(long delay)
Milliseconds before the next poll.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
delay(String delay)
Milliseconds before the next poll.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
expectedUpdateCount(int expectedUpdateCount)
Sets an expected update count to validate when using onConsume.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
expectedUpdateCount(String expectedUpdateCount)
Sets an expected update count to validate when using onConsume.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
greedy(boolean greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
greedy(String greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
initialDelay(long initialDelay)
Milliseconds before the first poll starts.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
initialDelay(String initialDelay)
Milliseconds before the first poll starts.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
maxMessagesPerPoll(int maxMessagesPerPoll)
Sets the maximum number of messages to poll.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
maxMessagesPerPoll(String maxMessagesPerPoll)
Sets the maximum number of messages to poll.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
onConsume(String onConsume)
After processing each row then this query can be executed, if the
Exchange was processed successfully, for example to mark the row as
processed.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
onConsumeBatchComplete(String onConsumeBatchComplete)
After processing the entire batch, this query can be executed to bulk
update rows etc.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
onConsumeFailed(String onConsumeFailed)
After processing each row then this query can be executed, if the
Exchange failed, for example to mark the row as failed.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
outputClass(String outputClass)
Specify the full package and class name to use as conversion when
outputType=SelectOne.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
outputHeader(String outputHeader)
Store the query result in a header instead of the message body.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
outputType(ElsqlEndpointBuilderFactory.SqlOutputType outputType)
Make the output of consumer or producer to SelectList as List of Map,
or SelectOne as single Java object in the following way: a) If the
query has only single column, then that JDBC Column object is
returned.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
outputType(String outputType)
Make the output of consumer or producer to SelectList as List of Map,
or SelectOne as single Java object in the following way: a) If the
query has only single column, then that JDBC Column object is
returned.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
repeatCount(long repeatCount)
Specifies a maximum limit of number of fires.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
repeatCount(String repeatCount)
Specifies a maximum limit of number of fires.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
routeEmptyResultSet(boolean routeEmptyResultSet)
Sets whether empty resultset should be allowed to be sent to the next
hop.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
routeEmptyResultSet(String routeEmptyResultSet)
Sets whether empty resultset should be allowed to be sent to the next
hop.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
runLoggingLevel(String runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
scheduledExecutorService(String scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
scheduler(Object scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
scheduler(String scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
schedulerProperties(Map values)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
schedulerProperties(String key,
Object value)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
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 ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
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 ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
separator(char separator)
The separator to use when parameter values is taken from message body
(if the body is a String type), to be inserted at # placeholders.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
separator(String separator)
The separator to use when parameter values is taken from message body
(if the body is a String type), to be inserted at # placeholders.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
startScheduler(boolean startScheduler)
Whether the scheduler should be auto started.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
startScheduler(String startScheduler)
Whether the scheduler should be auto started.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
timeUnit(String timeUnit)
Time unit for initialDelay and delay options.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
timeUnit(TimeUnit timeUnit)
Time unit for initialDelay and delay options.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
transacted(boolean transacted)
Enables or disables transaction.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
transacted(String transacted)
Enables or disables transaction.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
useFixedDelay(boolean useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
useFixedDelay(String useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
useIterator(boolean useIterator)
Sets how resultset should be delivered to route.
|
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder |
useIterator(String useIterator)
Sets how resultset should be delivered to route.
|
default ElsqlEndpointBuilderFactory.AdvancedElsqlEndpointConsumerBuilder advanced()
default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder allowNamedParameters(boolean allowNamedParameters)
allowNamedParameters - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder allowNamedParameters(String allowNamedParameters)
allowNamedParameters - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder databaseVendor(ElsqlEndpointBuilderFactory.ElSqlDatabaseVendor databaseVendor)
databaseVendor - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder databaseVendor(String databaseVendor)
databaseVendor - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder dataSource(Object dataSource)
dataSource - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder dataSource(String dataSource)
dataSource - the value to set@Deprecated default ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder dataSourceRef(String dataSourceRef)
dataSourceRef - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder outputClass(String outputClass)
outputClass - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder outputHeader(String outputHeader)
outputHeader - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder outputType(ElsqlEndpointBuilderFactory.SqlOutputType outputType)
outputType - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder outputType(String outputType)
outputType - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder separator(char separator)
separator - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder separator(String separator)
separator - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder breakBatchOnConsumeFail(boolean breakBatchOnConsumeFail)
breakBatchOnConsumeFail - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder breakBatchOnConsumeFail(String breakBatchOnConsumeFail)
breakBatchOnConsumeFail - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder expectedUpdateCount(int expectedUpdateCount)
expectedUpdateCount - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder expectedUpdateCount(String expectedUpdateCount)
expectedUpdateCount - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder maxMessagesPerPoll(int maxMessagesPerPoll)
maxMessagesPerPoll - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder maxMessagesPerPoll(String maxMessagesPerPoll)
maxMessagesPerPoll - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder onConsume(String onConsume)
onConsume - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder onConsumeBatchComplete(String onConsumeBatchComplete)
onConsumeBatchComplete - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder onConsumeFailed(String onConsumeFailed)
onConsumeFailed - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder routeEmptyResultSet(boolean routeEmptyResultSet)
routeEmptyResultSet - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder routeEmptyResultSet(String routeEmptyResultSet)
routeEmptyResultSet - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle)
sendEmptyMessageWhenIdle - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle)
sendEmptyMessageWhenIdle - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder transacted(boolean transacted)
transacted - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder transacted(String transacted)
transacted - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder useIterator(boolean useIterator)
useIterator - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder useIterator(String useIterator)
useIterator - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder backoffErrorThreshold(int backoffErrorThreshold)
backoffErrorThreshold - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder backoffErrorThreshold(String backoffErrorThreshold)
backoffErrorThreshold - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder backoffIdleThreshold(int backoffIdleThreshold)
backoffIdleThreshold - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder backoffIdleThreshold(String backoffIdleThreshold)
backoffIdleThreshold - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder backoffMultiplier(int backoffMultiplier)
backoffMultiplier - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder backoffMultiplier(String backoffMultiplier)
backoffMultiplier - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder delay(long delay)
delay - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder delay(String delay)
delay - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder greedy(boolean greedy)
greedy - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder greedy(String greedy)
greedy - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder initialDelay(long initialDelay)
initialDelay - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder initialDelay(String initialDelay)
initialDelay - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder repeatCount(long repeatCount)
repeatCount - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder repeatCount(String repeatCount)
repeatCount - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
runLoggingLevel - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder runLoggingLevel(String runLoggingLevel)
runLoggingLevel - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
scheduledExecutorService - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder scheduledExecutorService(String scheduledExecutorService)
scheduledExecutorService - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder scheduler(Object scheduler)
scheduler - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder scheduler(String scheduler)
scheduler - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder schedulerProperties(String key, Object value)
key - the option keyvalue - the option valuedefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder schedulerProperties(Map values)
values - the valuesdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder startScheduler(boolean startScheduler)
startScheduler - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder startScheduler(String startScheduler)
startScheduler - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder timeUnit(TimeUnit timeUnit)
timeUnit - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder timeUnit(String timeUnit)
timeUnit - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder useFixedDelay(boolean useFixedDelay)
useFixedDelay - the value to setdefault ElsqlEndpointBuilderFactory.ElsqlEndpointConsumerBuilder useFixedDelay(String useFixedDelay)
useFixedDelay - the value to setApache Camel