use of org.apache.camel.component.sql.DefaultSqlPrepareStatementStrategy in project camel by apache.
the class ElsqlEndpoint method createProducer.
@Override
public Producer createProducer() throws Exception {
final SqlPrepareStatementStrategy prepareStrategy = getPrepareStatementStrategy() != null ? getPrepareStatementStrategy() : new DefaultSqlPrepareStatementStrategy(getSeparator());
final ElsqlProducer result = new ElsqlProducer(this, elSql, elsqlName, namedJdbcTemplate, dataSource, prepareStrategy, isBatch());
return result;
}
Aggregations