public class ElsqlProducer
extends org.apache.camel.impl.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, createExchange, createExchange, doStart, doStop, isSingleton, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic 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.impl.DefaultProducerprotected void processStreamList(org.apache.camel.Exchange exchange,
String sql,
org.springframework.jdbc.core.namedparam.SqlParameterSource param)
throws Exception
ExceptionApache Camel