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, populateParameterConfigurationMapafterConfiguration, createConfiguration, createEndpoint, doStart, doStop, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIpublic 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.DefaultComponentExceptionpublic void setDataSource(DataSource dataSource)
public DataSource getDataSource()
public boolean isUsePlaceholder()
public void setUsePlaceholder(boolean usePlaceholder)
Apache Camel