Package | Description |
---|---|
org.apache.camel.component.sql |
Defines an SQL component that can bind to JDBC datasources and execute SQL queries
that are exposed as endpoints.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SqlNamedProcessingStrategy
Extended processing strategy for dealing with SQL when consuming, which uses a
NamedParameterJdbcTemplate
instead of plain JdbcTemplate . |
Modifier and Type | Class and Description |
---|---|
class |
DefaultSqlProcessingStrategy |
Modifier and Type | Method and Description |
---|---|
SqlProcessingStrategy |
DefaultSqlEndpoint.getProcessingStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultSqlEndpoint.setProcessingStrategy(SqlProcessingStrategy 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.
|
Constructor and Description |
---|
SqlConsumer(DefaultSqlEndpoint endpoint,
org.apache.camel.Processor processor,
org.springframework.jdbc.core.JdbcTemplate jdbcTemplate,
String query,
SqlPrepareStatementStrategy sqlPrepareStatementStrategy,
SqlProcessingStrategy sqlProcessingStrategy) |
SqlConsumer(DefaultSqlEndpoint endpoint,
org.apache.camel.Processor processor,
org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate namedJdbcTemplate,
String query,
org.springframework.jdbc.core.namedparam.SqlParameterSource parameterSource,
SqlPrepareStatementStrategy sqlPrepareStatementStrategy,
SqlProcessingStrategy sqlProcessingStrategy) |
Apache Camel