@Component(value="jdbc")
public class JdbcComponent
extends org.apache.camel.support.DefaultComponent
| Constructor and Description |
|---|
JdbcComponent() |
| Modifier and Type | Method and Description |
|---|---|
protected JdbcEndpoint |
createEndpoint(String uri,
JdbcComponent component,
DataSource dataSource) |
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
ConnectionStrategy |
getConnectionStrategy() |
DataSource |
getDataSource() |
void |
setConnectionStrategy(ConnectionStrategy connectionStrategy)
To use a custom strategy for working with connections.
|
void |
setDataSource(DataSource dataSource)
To use the
DataSource instance instead of looking up the data source by name from the registry. |
afterConfiguration, createEndpoint, createEndpoint, doBuild, doInit, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getDefaultName, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, resolveRawParameterValues, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIbuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint in class org.apache.camel.support.DefaultComponentExceptionprotected JdbcEndpoint createEndpoint(String uri, JdbcComponent component, DataSource dataSource)
public void setDataSource(DataSource dataSource)
DataSource instance instead of looking up the data source by name from the registry.public DataSource getDataSource()
public ConnectionStrategy getConnectionStrategy()
public void setConnectionStrategy(ConnectionStrategy connectionStrategy)
Apache Camel