public class SqlProducer
extends org.apache.camel.support.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, doStop, isSingleton, toStringdoInit, doResume, doShutdown, doSuspend, getStatus, init, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic 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.EndpointAwaregetEndpoint in class org.apache.camel.support.DefaultProducerprotected void doStart()
throws Exception
doStart in class org.apache.camel.support.DefaultProducerExceptionprotected void processStreamList(org.apache.camel.Exchange exchange,
org.springframework.jdbc.core.PreparedStatementCreator statementCreator,
String sql,
String preparedQuery)
throws Exception
Exceptionpublic void setParametersCount(int parametersCount)
Apache Camel