public static interface SqlEndpointBuilderFactory.SqlEndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
| Modifier and Type | Method and Description |
|---|---|
default SqlEndpointBuilderFactory.AdvancedSqlEndpointProducerBuilder |
advanced() |
default SqlEndpointBuilderFactory.SqlEndpointProducerBuilder |
allowNamedParameters(boolean allowNamedParameters)
Whether to allow using named parameters in the queries.
|
default SqlEndpointBuilderFactory.SqlEndpointProducerBuilder |
allowNamedParameters(String allowNamedParameters)
Whether to allow using named parameters in the queries.
|
default SqlEndpointBuilderFactory.SqlEndpointProducerBuilder |
batch(boolean batch)
Enables or disables batch mode.
|
default SqlEndpointBuilderFactory.SqlEndpointProducerBuilder |
batch(String batch)
Enables or disables batch mode.
|
default SqlEndpointBuilderFactory.SqlEndpointProducerBuilder |
dataSource(Object dataSource)
Sets the DataSource to use to communicate with the databaset at
endpoint level.
|
default SqlEndpointBuilderFactory.SqlEndpointProducerBuilder |
dataSource(String dataSource)
Sets the DataSource to use to communicate with the databaset at
endpoint level.
|
default SqlEndpointBuilderFactory.SqlEndpointProducerBuilder |
dataSourceRef(String dataSourceRef)
Deprecated.
|
default SqlEndpointBuilderFactory.SqlEndpointProducerBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default SqlEndpointBuilderFactory.SqlEndpointProducerBuilder |
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default SqlEndpointBuilderFactory.SqlEndpointProducerBuilder |
noop(boolean noop)
If set, will ignore the results of the SQL query and use the existing
IN message as the OUT message for the continuation of processing.
|
default SqlEndpointBuilderFactory.SqlEndpointProducerBuilder |
noop(String noop)
If set, will ignore the results of the SQL query and use the existing
IN message as the OUT message for the continuation of processing.
|
default SqlEndpointBuilderFactory.SqlEndpointProducerBuilder |
outputClass(String outputClass)
Specify the full package and class name to use as conversion when
outputType=SelectOne.
|
default SqlEndpointBuilderFactory.SqlEndpointProducerBuilder |
outputHeader(String outputHeader)
Store the query result in a header instead of the message body.
|
default SqlEndpointBuilderFactory.SqlEndpointProducerBuilder |
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.SqlEndpointProducerBuilder |
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.SqlEndpointProducerBuilder |
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.SqlEndpointProducerBuilder |
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 SqlEndpointBuilderFactory.SqlEndpointProducerBuilder |
useMessageBodyForSql(boolean useMessageBodyForSql)
Whether to use the message body as the SQL and then headers for
parameters.
|
default SqlEndpointBuilderFactory.SqlEndpointProducerBuilder |
useMessageBodyForSql(String useMessageBodyForSql)
Whether to use the message body as the SQL and then headers for
parameters.
|
default SqlEndpointBuilderFactory.AdvancedSqlEndpointProducerBuilder advanced()
default SqlEndpointBuilderFactory.SqlEndpointProducerBuilder allowNamedParameters(boolean allowNamedParameters)
allowNamedParameters - the value to setdefault SqlEndpointBuilderFactory.SqlEndpointProducerBuilder allowNamedParameters(String allowNamedParameters)
allowNamedParameters - the value to setdefault SqlEndpointBuilderFactory.SqlEndpointProducerBuilder dataSource(Object dataSource)
dataSource - the value to setdefault SqlEndpointBuilderFactory.SqlEndpointProducerBuilder dataSource(String dataSource)
dataSource - the value to set@Deprecated default SqlEndpointBuilderFactory.SqlEndpointProducerBuilder dataSourceRef(String dataSourceRef)
dataSourceRef - the value to setdefault SqlEndpointBuilderFactory.SqlEndpointProducerBuilder outputClass(String outputClass)
outputClass - the value to setdefault SqlEndpointBuilderFactory.SqlEndpointProducerBuilder outputHeader(String outputHeader)
outputHeader - the value to setdefault SqlEndpointBuilderFactory.SqlEndpointProducerBuilder outputType(SqlEndpointBuilderFactory.SqlOutputType outputType)
outputType - the value to setdefault SqlEndpointBuilderFactory.SqlEndpointProducerBuilder outputType(String outputType)
outputType - the value to setdefault SqlEndpointBuilderFactory.SqlEndpointProducerBuilder separator(char separator)
separator - the value to setdefault SqlEndpointBuilderFactory.SqlEndpointProducerBuilder separator(String separator)
separator - the value to setdefault SqlEndpointBuilderFactory.SqlEndpointProducerBuilder batch(boolean batch)
batch - the value to setdefault SqlEndpointBuilderFactory.SqlEndpointProducerBuilder batch(String batch)
batch - the value to setdefault SqlEndpointBuilderFactory.SqlEndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer)
lazyStartProducer - the value to setdefault SqlEndpointBuilderFactory.SqlEndpointProducerBuilder lazyStartProducer(String lazyStartProducer)
lazyStartProducer - the value to setdefault SqlEndpointBuilderFactory.SqlEndpointProducerBuilder noop(boolean noop)
noop - the value to setdefault SqlEndpointBuilderFactory.SqlEndpointProducerBuilder noop(String noop)
noop - the value to setdefault SqlEndpointBuilderFactory.SqlEndpointProducerBuilder useMessageBodyForSql(boolean useMessageBodyForSql)
useMessageBodyForSql - the value to setdefault SqlEndpointBuilderFactory.SqlEndpointProducerBuilder useMessageBodyForSql(String useMessageBodyForSql)
useMessageBodyForSql - the value to setApache Camel