public static interface SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder |
alwaysPopulateStatement(boolean alwaysPopulateStatement)
If enabled then the populateStatement method from
org.apache.camel.component.sql.SqlPrepareStatementStrategy is always
invoked, also if there is no expected parameters to be prepared.
|
default SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder |
alwaysPopulateStatement(String alwaysPopulateStatement)
If enabled then the populateStatement method from
org.apache.camel.component.sql.SqlPrepareStatementStrategy is always
invoked, also if there is no expected parameters to be prepared.
|
default SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder |
basic() |
default SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder |
exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
To let the consumer use a custom ExceptionHandler.
|
default SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder |
exceptionHandler(String exceptionHandler)
To let the consumer use a custom ExceptionHandler.
|
default SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder |
exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.
|
default SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder |
exchangePattern(String exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.
|
default SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder |
parametersCount(int parametersCount)
If set greater than zero, then Camel will use this count value of
parameters to replace instead of querying via JDBC metadata API.
|
default SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder |
parametersCount(String parametersCount)
If set greater than zero, then Camel will use this count value of
parameters to replace instead of querying via JDBC metadata API.
|
default SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder |
placeholder(String placeholder)
Specifies a character that will be replaced to in SQL query.
|
default SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder |
pollStrategy(org.apache.camel.spi.PollingConsumerPollStrategy pollStrategy)
A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing
you to provide your custom implementation to control error handling
usually occurred during the poll operation before an Exchange have
been created and being routed in Camel.
|
default SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder |
pollStrategy(String pollStrategy)
A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing
you to provide your custom implementation to control error handling
usually occurred during the poll operation before an Exchange have
been created and being routed in Camel.
|
default SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder |
prepareStatementStrategy(Object prepareStatementStrategy)
Allows to plugin to use a custom
org.apache.camel.component.sql.SqlPrepareStatementStrategy to control
preparation of the query and prepared statement.
|
default SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder |
prepareStatementStrategy(String prepareStatementStrategy)
Allows to plugin to use a custom
org.apache.camel.component.sql.SqlPrepareStatementStrategy to control
preparation of the query and prepared statement.
|
default SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder |
processingStrategy(Object processingStrategy)
Allows to plugin to use a custom
org.apache.camel.component.sql.SqlProcessingStrategy to execute
queries when the consumer has processed the rows/batch.
|
default SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder |
processingStrategy(String processingStrategy)
Allows to plugin to use a custom
org.apache.camel.component.sql.SqlProcessingStrategy to execute
queries when the consumer has processed the rows/batch.
|
default SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder |
synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used, or Camel
is allowed to use asynchronous processing (if supported).
|
default SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder |
synchronous(String synchronous)
Sets whether synchronous processing should be strictly used, or Camel
is allowed to use asynchronous processing (if supported).
|
default SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder |
templateOptions(Map values)
Configures the Spring JdbcTemplate with the key/values from the Map.
|
default SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder |
templateOptions(String key,
Object value)
Configures the Spring JdbcTemplate with the key/values from the Map.
|
default SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder |
usePlaceholder(boolean usePlaceholder)
Sets whether to use placeholder and replace all placeholder
characters with sign in the SQL queries.
|
default SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder |
usePlaceholder(String usePlaceholder)
Sets whether to use placeholder and replace all placeholder
characters with sign in the SQL queries.
|
default SqlEndpointBuilderFactory.SqlEndpointConsumerBuilder basic()
default SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
exceptionHandler - the value to setdefault SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder exceptionHandler(String exceptionHandler)
exceptionHandler - the value to setdefault SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
exchangePattern - the value to setdefault SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder exchangePattern(String exchangePattern)
exchangePattern - the value to setdefault SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder pollStrategy(org.apache.camel.spi.PollingConsumerPollStrategy pollStrategy)
pollStrategy - the value to setdefault SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder pollStrategy(String pollStrategy)
pollStrategy - the value to setdefault SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder processingStrategy(Object processingStrategy)
processingStrategy - the value to setdefault SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder processingStrategy(String processingStrategy)
processingStrategy - the value to setdefault SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder alwaysPopulateStatement(boolean alwaysPopulateStatement)
alwaysPopulateStatement - the value to setdefault SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder alwaysPopulateStatement(String alwaysPopulateStatement)
alwaysPopulateStatement - the value to setdefault SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder parametersCount(int parametersCount)
parametersCount - the value to setdefault SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder parametersCount(String parametersCount)
parametersCount - the value to setdefault SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder placeholder(String placeholder)
placeholder - the value to setdefault SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder prepareStatementStrategy(Object prepareStatementStrategy)
prepareStatementStrategy - the value to setdefault SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder prepareStatementStrategy(String prepareStatementStrategy)
prepareStatementStrategy - the value to setdefault SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder synchronous(boolean synchronous)
synchronous - the value to setdefault SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder synchronous(String synchronous)
synchronous - the value to setdefault SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder templateOptions(String key, Object value)
key - the option keyvalue - the option valuedefault SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder templateOptions(Map values)
values - the valuesdefault SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder usePlaceholder(boolean usePlaceholder)
usePlaceholder - the value to setdefault SqlEndpointBuilderFactory.AdvancedSqlEndpointConsumerBuilder usePlaceholder(String usePlaceholder)
usePlaceholder - the value to setApache Camel