public class SqlProducer
extends org.apache.camel.impl.DefaultProducer
Constructor and Description |
---|
SqlProducer(SqlEndpoint endpoint,
String query,
org.springframework.jdbc.core.JdbcTemplate jdbcTemplate,
SqlPrepareStatementStrategy sqlPrepareStatementStrategy,
boolean batch,
boolean alwaysPopulateStatement,
boolean useMessageBodyForSql) |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart() |
SqlEndpoint |
getEndpoint() |
void |
process(org.apache.camel.Exchange exchange) |
protected void |
processStreamList(org.apache.camel.Exchange exchange,
org.springframework.jdbc.core.PreparedStatementCreator statementCreator,
String sql,
String preparedQuery) |
void |
setParametersCount(int parametersCount) |
createExchange, createExchange, createExchange, doStop, isSingleton, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public SqlProducer(SqlEndpoint endpoint, String query, org.springframework.jdbc.core.JdbcTemplate jdbcTemplate, SqlPrepareStatementStrategy sqlPrepareStatementStrategy, boolean batch, boolean alwaysPopulateStatement, boolean useMessageBodyForSql)
public SqlEndpoint getEndpoint()
getEndpoint
in interface org.apache.camel.EndpointAware
getEndpoint
in class org.apache.camel.impl.DefaultProducer
protected void doStart() throws Exception
doStart
in class org.apache.camel.impl.DefaultProducer
Exception
protected void processStreamList(org.apache.camel.Exchange exchange, org.springframework.jdbc.core.PreparedStatementCreator statementCreator, String sql, String preparedQuery) throws Exception
Exception
public void setParametersCount(int parametersCount)
Apache Camel