public static interface JdbcEndpointBuilderFactory.JdbcEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
| Modifier and Type | Method and Description |
|---|---|
default JdbcEndpointBuilderFactory.AdvancedJdbcEndpointBuilder |
advanced() |
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
allowNamedParameters(boolean allowNamedParameters)
Whether to allow using named parameters in the queries.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
allowNamedParameters(String allowNamedParameters)
Whether to allow using named parameters in the queries.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
outputClass(String outputClass)
Specify the full package and class name to use as conversion when
outputType=SelectOne or SelectList.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
outputType(JdbcEndpointBuilderFactory.JdbcOutputType outputType)
Determines the output the producer should use.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
outputType(String outputType)
Determines the output the producer should use.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
parameters(Map values)
Optional parameters to the java.sql.Statement.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
parameters(String key,
Object value)
Optional parameters to the java.sql.Statement.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
readSize(int readSize)
The default maximum number of rows that can be read by a polling
query.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
readSize(String readSize)
The default maximum number of rows that can be read by a polling
query.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
resetAutoCommit(boolean resetAutoCommit)
Camel will set the autoCommit on the JDBC connection to be false,
commit the change after executed the statement and reset the
autoCommit flag of the connection at the end, if the resetAutoCommit
is true.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
resetAutoCommit(String resetAutoCommit)
Camel will set the autoCommit on the JDBC connection to be false,
commit the change after executed the statement and reset the
autoCommit flag of the connection at the end, if the resetAutoCommit
is true.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
transacted(boolean transacted)
Whether transactions are in use.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
transacted(String transacted)
Whether transactions are in use.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
useGetBytesForBlob(boolean useGetBytesForBlob)
To read BLOB columns as bytes instead of string data.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
useGetBytesForBlob(String useGetBytesForBlob)
To read BLOB columns as bytes instead of string data.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
useHeadersAsParameters(boolean useHeadersAsParameters)
Set this option to true to use the prepareStatementStrategy with
named parameters.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
useHeadersAsParameters(String useHeadersAsParameters)
Set this option to true to use the prepareStatementStrategy with
named parameters.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
useJDBC4ColumnNameAndLabelSemantics(boolean useJDBC4ColumnNameAndLabelSemantics)
Sets whether to use JDBC 4 or JDBC 3.0 or older semantic when
retrieving column name.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
useJDBC4ColumnNameAndLabelSemantics(String useJDBC4ColumnNameAndLabelSemantics)
Sets whether to use JDBC 4 or JDBC 3.0 or older semantic when
retrieving column name.
|
default JdbcEndpointBuilderFactory.AdvancedJdbcEndpointBuilder advanced()
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder allowNamedParameters(boolean allowNamedParameters)
allowNamedParameters - the value to setdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder allowNamedParameters(String allowNamedParameters)
allowNamedParameters - the value to setdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder lazyStartProducer(boolean lazyStartProducer)
lazyStartProducer - the value to setdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder lazyStartProducer(String lazyStartProducer)
lazyStartProducer - the value to setdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder outputClass(String outputClass)
outputClass - the value to setdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder outputType(JdbcEndpointBuilderFactory.JdbcOutputType outputType)
outputType - the value to setdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder outputType(String outputType)
outputType - the value to setdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder parameters(String key, Object value)
key - the option keyvalue - the option valuedefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder parameters(Map values)
values - the valuesdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder readSize(int readSize)
readSize - the value to setdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder readSize(String readSize)
readSize - the value to setdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder resetAutoCommit(boolean resetAutoCommit)
resetAutoCommit - the value to setdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder resetAutoCommit(String resetAutoCommit)
resetAutoCommit - the value to setdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder transacted(boolean transacted)
transacted - the value to setdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder transacted(String transacted)
transacted - the value to setdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder useGetBytesForBlob(boolean useGetBytesForBlob)
useGetBytesForBlob - the value to setdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder useGetBytesForBlob(String useGetBytesForBlob)
useGetBytesForBlob - the value to setdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder useHeadersAsParameters(boolean useHeadersAsParameters)
useHeadersAsParameters - the value to setdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder useHeadersAsParameters(String useHeadersAsParameters)
useHeadersAsParameters - the value to setdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder useJDBC4ColumnNameAndLabelSemantics(boolean useJDBC4ColumnNameAndLabelSemantics)
useJDBC4ColumnNameAndLabelSemantics - the value to setdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder useJDBC4ColumnNameAndLabelSemantics(String useJDBC4ColumnNameAndLabelSemantics)
useJDBC4ColumnNameAndLabelSemantics - the value to setApache Camel