org.apache.activemq.ra
Interface MessageResourceAdapter
- All Superinterfaces:
- javax.resource.spi.ResourceAdapter
- All Known Implementing Classes:
- ActiveMQResourceAdapter
public interface MessageResourceAdapter
- extends javax.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)
Methods inherited from interface javax.resource.spi.ResourceAdapter |
endpointActivation, endpointDeactivation, getXAResources, start, stop |
makeConnection
ActiveMQConnection makeConnection(ActiveMQConnectionRequestInfo info)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
makeConnection
ActiveMQConnection makeConnection(MessageActivationSpec activationSpec)
throws javax.jms.JMSException
- Parameters:
activationSpec
-
- Throws:
javax.jms.JMSException
getBootstrapContext
javax.resource.spi.BootstrapContext getBootstrapContext()
- Returns:
- bootstrap context
getBrokerXmlConfig
java.lang.String getBrokerXmlConfig()
getInfo
ActiveMQConnectionRequestInfo getInfo()
- Returns:
- Returns the info.
Copyright © 2005-2016. All Rights Reserved.