org.apache.camel.component.sql
Class SqlEndpoint
java.lang.Object
org.apache.camel.impl.DefaultEndpoint
org.apache.camel.component.sql.SqlEndpoint
- All Implemented Interfaces:
- CamelContextAware, Endpoint
public class SqlEndpoint
- extends DefaultEndpoint
SQL Endpoint. Endpoint URI should contain valid SQL statement, but instead of
question marks (that are parameter placeholders), sharp signs should be used.
This is because in camel question mark has other meaning.
Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
configureProperties, convertTo, createEndpointUri, createExchange, createExchange, createExchange, createExecutorService, createPollingConsumer, equals, getCamelContext, getComponent, getContext, getEndpointUri, getExchangePattern, getExchangeType, getExecutorService, hashCode, isLenientProperties, setCamelContext, setContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setExecutorService, toString |
SqlEndpoint
public SqlEndpoint(String uri,
String query,
Component component,
DataSource dataSource,
Map parameters)
throws Exception
- Throws:
Exception
SqlEndpoint
public SqlEndpoint(String endpointUri,
JdbcTemplate jdbcTemplate,
String query)
createConsumer
public Consumer createConsumer(Processor processor)
throws Exception
- Throws:
Exception
createProducer
public Producer createProducer()
throws Exception
- Throws:
Exception
isSingleton
public boolean isSingleton()
Apache CAMEL