public class ActiveMQResourceAdapter
extends org.apache.activemq.ra.ActiveMQResourceAdapter
Constructor and Description |
---|
ActiveMQResourceAdapter() |
Modifier and Type | Method and Description |
---|---|
protected ActiveMQConnectionFactory |
createConnectionFactory(ActiveMQConnectionRequestInfo connectionRequestInfo,
MessageActivationSpec activationSpec) |
BootstrapContext |
getBootstrapContext() |
java.lang.String |
getDataSource() |
int |
getStartupTimeout() |
ActiveMQConnection |
makeConnection(MessageActivationSpec activationSpec) |
void |
setDataSource(java.lang.String dataSource) |
void |
setServerUrl(java.lang.String url) |
void |
setStartupTimeout(Duration startupTimeout) |
void |
setUseDatabaseLock(java.lang.String useDatabaseLock) |
void |
start(BootstrapContext bootstrapContext) |
void |
stop() |
public java.lang.String getDataSource()
public void setDataSource(java.lang.String dataSource)
public void setUseDatabaseLock(java.lang.String useDatabaseLock)
public int getStartupTimeout()
public void setStartupTimeout(Duration startupTimeout)
public void setServerUrl(java.lang.String url)
public void start(BootstrapContext bootstrapContext) throws ResourceAdapterInternalException
ResourceAdapterInternalException
public BootstrapContext getBootstrapContext()
public void stop()
public ActiveMQConnection makeConnection(MessageActivationSpec activationSpec) throws JMSException
JMSException
protected ActiveMQConnectionFactory createConnectionFactory(ActiveMQConnectionRequestInfo connectionRequestInfo, MessageActivationSpec activationSpec)