public class ElsqlProducer
extends org.apache.camel.support.DefaultProducer
| Constructor and Description |
|---|
ElsqlProducer(ElsqlEndpoint endpoint,
com.opengamma.elsql.ElSql elSql,
String elSqlName,
org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate jdbcTemplate,
DataSource dataSource,
org.apache.camel.component.sql.SqlPrepareStatementStrategy sqlPrepareStatementStrategy,
boolean batch) |
| Modifier and Type | Method and Description |
|---|---|
ElsqlEndpoint |
getEndpoint() |
void |
process(org.apache.camel.Exchange exchange) |
protected void |
processStreamList(org.apache.camel.Exchange exchange,
org.springframework.jdbc.core.PreparedStatementCreator statementCreator,
String preparedQuery) |
protected void |
processStreamList(org.apache.camel.Exchange exchange,
String sql,
org.springframework.jdbc.core.namedparam.SqlParameterSource param) |
createExchange, doStart, doStop, isSingleton, toStringbuild, doBuild, doFail, doInit, 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, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic ElsqlProducer(ElsqlEndpoint endpoint, com.opengamma.elsql.ElSql elSql, String elSqlName, org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate jdbcTemplate, DataSource dataSource, org.apache.camel.component.sql.SqlPrepareStatementStrategy sqlPrepareStatementStrategy, boolean batch)
public ElsqlEndpoint getEndpoint()
getEndpoint in interface org.apache.camel.EndpointAwaregetEndpoint in class org.apache.camel.support.DefaultProducerprotected void processStreamList(org.apache.camel.Exchange exchange,
String sql,
org.springframework.jdbc.core.namedparam.SqlParameterSource param)
throws Exception
ExceptionApache Camel