public static interface SqlEndpointBuilderFactory.SqlEndpointBuilder extends SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder, SqlEndpointBuilderFactory.SqlEndpointProducerBuilder
| Modifier and Type | Method and Description |
|---|---|
default SqlEndpointBuilderFactory.AdvancedSqlEndpointBuilder |
advanced() |
default SqlEndpointBuilderFactory.SqlEndpointBuilder |
allowNamedParameters(boolean allowNamedParameters)
Whether to allow using named parameters in the queries.
|
default SqlEndpointBuilderFactory.SqlEndpointBuilder |
allowNamedParameters(String allowNamedParameters)
Whether to allow using named parameters in the queries.
|
default SqlEndpointBuilderFactory.SqlEndpointBuilder |
dataSource(Object dataSource)
Sets the DataSource to use to communicate with the database at
endpoint level.
|
default SqlEndpointBuilderFactory.SqlEndpointBuilder |
dataSource(String dataSource)
Sets the DataSource to use to communicate with the database at
endpoint level.
|
default SqlEndpointBuilderFactory.SqlEndpointBuilder |
outputClass(String outputClass)
Specify the full package and class name to use as conversion when
outputType=SelectOne.
|
default SqlEndpointBuilderFactory.SqlEndpointBuilder |
outputHeader(String outputHeader)
Store the query result in a header instead of the message body.
|
default SqlEndpointBuilderFactory.SqlEndpointBuilder |
outputType(SqlEndpointBuilderFactory.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 SqlEndpointBuilderFactory.SqlEndpointBuilder |
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 SqlEndpointBuilderFactory.SqlEndpointBuilder |
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 SqlEndpointBuilderFactory.SqlEndpointBuilder |
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.
|
backoffErrorThreshold, backoffErrorThreshold, backoffIdleThreshold, backoffIdleThreshold, backoffMultiplier, backoffMultiplier, breakBatchOnConsumeFail, breakBatchOnConsumeFail, bridgeErrorHandler, bridgeErrorHandler, delay, delay, expectedUpdateCount, expectedUpdateCount, greedy, greedy, initialDelay, initialDelay, maxMessagesPerPoll, maxMessagesPerPoll, onConsume, onConsumeBatchComplete, onConsumeFailed, repeatCount, repeatCount, routeEmptyResultSet, routeEmptyResultSet, runLoggingLevel, runLoggingLevel, scheduledExecutorService, scheduledExecutorService, scheduler, scheduler, schedulerProperties, schedulerProperties, sendEmptyMessageWhenIdle, sendEmptyMessageWhenIdle, startScheduler, startScheduler, timeUnit, timeUnit, transacted, transacted, useFixedDelay, useFixedDelay, useIterator, useIteratordoSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, expr, getUribatch, batch, lazyStartProducer, lazyStartProducer, noop, noop, useMessageBodyForSql, useMessageBodyForSqldefault SqlEndpointBuilderFactory.AdvancedSqlEndpointBuilder advanced()
advanced in interface SqlEndpointBuilderFactory.SqlEndpointConsumerBuilderadvanced in interface SqlEndpointBuilderFactory.SqlEndpointProducerBuilderdefault SqlEndpointBuilderFactory.SqlEndpointBuilder allowNamedParameters(boolean allowNamedParameters)
allowNamedParameters in interface SqlEndpointBuilderFactory.SqlEndpointConsumerBuilderallowNamedParameters in interface SqlEndpointBuilderFactory.SqlEndpointProducerBuilderallowNamedParameters - the value to setdefault SqlEndpointBuilderFactory.SqlEndpointBuilder allowNamedParameters(String allowNamedParameters)
allowNamedParameters in interface SqlEndpointBuilderFactory.SqlEndpointConsumerBuilderallowNamedParameters in interface SqlEndpointBuilderFactory.SqlEndpointProducerBuilderallowNamedParameters - the value to setdefault SqlEndpointBuilderFactory.SqlEndpointBuilder dataSource(Object dataSource)
dataSource in interface SqlEndpointBuilderFactory.SqlEndpointConsumerBuilderdataSource in interface SqlEndpointBuilderFactory.SqlEndpointProducerBuilderdataSource - the value to setdefault SqlEndpointBuilderFactory.SqlEndpointBuilder dataSource(String dataSource)
dataSource in interface SqlEndpointBuilderFactory.SqlEndpointConsumerBuilderdataSource in interface SqlEndpointBuilderFactory.SqlEndpointProducerBuilderdataSource - the value to setdefault SqlEndpointBuilderFactory.SqlEndpointBuilder outputClass(String outputClass)
outputClass in interface SqlEndpointBuilderFactory.SqlEndpointConsumerBuilderoutputClass in interface SqlEndpointBuilderFactory.SqlEndpointProducerBuilderoutputClass - the value to setdefault SqlEndpointBuilderFactory.SqlEndpointBuilder outputHeader(String outputHeader)
outputHeader in interface SqlEndpointBuilderFactory.SqlEndpointConsumerBuilderoutputHeader in interface SqlEndpointBuilderFactory.SqlEndpointProducerBuilderoutputHeader - the value to setdefault SqlEndpointBuilderFactory.SqlEndpointBuilder outputType(SqlEndpointBuilderFactory.SqlOutputType outputType)
outputType in interface SqlEndpointBuilderFactory.SqlEndpointConsumerBuilderoutputType in interface SqlEndpointBuilderFactory.SqlEndpointProducerBuilderoutputType - the value to setdefault SqlEndpointBuilderFactory.SqlEndpointBuilder outputType(String outputType)
outputType in interface SqlEndpointBuilderFactory.SqlEndpointConsumerBuilderoutputType in interface SqlEndpointBuilderFactory.SqlEndpointProducerBuilderoutputType - the value to setdefault SqlEndpointBuilderFactory.SqlEndpointBuilder separator(char separator)
separator in interface SqlEndpointBuilderFactory.SqlEndpointConsumerBuilderseparator in interface SqlEndpointBuilderFactory.SqlEndpointProducerBuilderseparator - the value to setdefault SqlEndpointBuilderFactory.SqlEndpointBuilder separator(String separator)
separator in interface SqlEndpointBuilderFactory.SqlEndpointConsumerBuilderseparator in interface SqlEndpointBuilderFactory.SqlEndpointProducerBuilderseparator - the value to setApache Camel