@Component(value="elsql")
public class ElsqlComponent
extends org.apache.camel.support.DefaultComponent
| Constructor and Description |
|---|
ElsqlComponent() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
ElSqlDatabaseVendor |
getDatabaseVendor() |
DataSource |
getDataSource() |
com.opengamma.elsql.ElSqlConfig |
getElSqlConfig()
Sets the DataSource to use to communicate with the database.
|
String |
getResourceUri() |
void |
setDatabaseVendor(ElSqlDatabaseVendor databaseVendor)
To use a vendor specific
ElSqlConfig |
void |
setDataSource(DataSource dataSource)
Sets the DataSource to use to communicate with the database.
|
void |
setElSqlConfig(com.opengamma.elsql.ElSqlConfig elSqlConfig)
To use a specific configured ElSqlConfig.
|
void |
setResourceUri(String resourceUri)
The resource file which contains the elsql SQL statements to use.
|
afterConfiguration, createEndpoint, createEndpoint, doBuild, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setBasicPropertyBinding, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIbuild, doFail, doInit, 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.DefaultComponentExceptionpublic ElSqlDatabaseVendor getDatabaseVendor()
public void setDatabaseVendor(ElSqlDatabaseVendor databaseVendor)
ElSqlConfigpublic void setDataSource(DataSource dataSource)
public DataSource getDataSource()
public com.opengamma.elsql.ElSqlConfig getElSqlConfig()
public void setElSqlConfig(com.opengamma.elsql.ElSqlConfig elSqlConfig)
public String getResourceUri()
public void setResourceUri(String resourceUri)
Apache Camel