public class SqlComponent
extends org.apache.camel.impl.UriEndpointComponent
Constructor and Description |
---|
SqlComponent() |
SqlComponent(org.apache.camel.CamelContext context) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
DataSource |
getDataSource() |
boolean |
isUsePlaceholder() |
void |
setDataSource(DataSource dataSource) |
void |
setUsePlaceholder(boolean usePlaceholder)
Sets whether to use placeholder and replace all placeholder characters with ? sign in the SQL queries.
|
createComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap
afterConfiguration, createConfiguration, createEndpoint, doStart, doStop, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
public SqlComponent()
public SqlComponent(org.apache.camel.CamelContext context)
protected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint
in class org.apache.camel.impl.DefaultComponent
Exception
public void setDataSource(DataSource dataSource)
public DataSource getDataSource()
public boolean isUsePlaceholder()
public void setUsePlaceholder(boolean usePlaceholder)
Apache Camel