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 |
doInit() |
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, toString
build, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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.support.DefaultProducer
protected void doInit() throws Exception
doInit
in class org.apache.camel.support.service.BaseService
Exception
protected void doStart() throws Exception
doStart
in class org.apache.camel.support.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