Package org.apache.activemq.ra
Interface MessageResourceAdapter
- All Superinterfaces:
jakarta.resource.spi.ResourceAdapter
- All Known Implementing Classes:
ActiveMQResourceAdapter
public interface MessageResourceAdapter
extends jakarta.resource.spi.ResourceAdapter
Knows how to connect to one ActiveMQ server. It can then activate endpoints
and deliver messages to those end points using the connection configure in
the resource adapter. Must override equals and hashCode (JCA spec 16.4)
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.resource.spi.BootstrapContextgetInfo()org.apache.activemq.ActiveMQConnectionorg.apache.activemq.ActiveMQConnectionmakeConnection(MessageActivationSpec activationSpec) Methods inherited from interface jakarta.resource.spi.ResourceAdapter
endpointActivation, endpointDeactivation, getXAResources, start, stop
-
Method Details
-
makeConnection
org.apache.activemq.ActiveMQConnection makeConnection(ActiveMQConnectionRequestInfo info) throws jakarta.jms.JMSException - Throws:
jakarta.jms.JMSException
-
makeConnection
org.apache.activemq.ActiveMQConnection makeConnection(MessageActivationSpec activationSpec) throws jakarta.jms.JMSException - Parameters:
activationSpec-- Throws:
jakarta.jms.JMSException
-
getBootstrapContext
jakarta.resource.spi.BootstrapContext getBootstrapContext()- Returns:
- bootstrap context
-
getBrokerXmlConfig
String getBrokerXmlConfig() -
getInfo
ActiveMQConnectionRequestInfo getInfo()- Returns:
- Returns the info.
-