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 | Class and Description |
---|---|
class |
DefaultSqlPrepareStatementStrategy
Default
SqlPrepareStatementStrategy that supports named query parameters as well index based. |
Modifier and Type | Method and Description |
---|---|
SqlPrepareStatementStrategy |
DefaultSqlEndpoint.getPrepareStatementStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultSqlEndpoint.setPrepareStatementStrategy(SqlPrepareStatementStrategy prepareStatementStrategy)
Allows to plugin to use a custom org.apache.camel.component.sql.SqlPrepareStatementStrategy to control preparation of the query and prepared statement.
|
Constructor and Description |
---|
DefaultSqlProcessingStrategy(SqlPrepareStatementStrategy sqlPrepareStatementStrategy) |
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) |
SqlProducer(SqlEndpoint endpoint,
String query,
org.springframework.jdbc.core.JdbcTemplate jdbcTemplate,
SqlPrepareStatementStrategy sqlPrepareStatementStrategy,
boolean batch,
boolean alwaysPopulateStatement,
boolean useMessageBodyForSql) |
Apache Camel