org.apache.activemq.ra
Interface MessageResourceAdapter

All Superinterfaces:
ResourceAdapter
All Known Implementing Classes:
ActiveMQResourceAdapter

public interface MessageResourceAdapter
extends 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
 BootstrapContext getBootstrapContext()
           
 String getBrokerXmlConfig()
           
 ActiveMQConnectionRequestInfo getInfo()
           
 ActiveMQConnection makeConnection(ActiveMQConnectionRequestInfo info)
           
 ActiveMQConnection makeConnection(MessageActivationSpec activationSpec)
           
 
Methods inherited from interface javax.resource.spi.ResourceAdapter
endpointActivation, endpointDeactivation, getXAResources, start, stop
 

Method Detail

makeConnection

ActiveMQConnection makeConnection(ActiveMQConnectionRequestInfo info)
                                  throws JMSException
Throws:
JMSException

makeConnection

ActiveMQConnection makeConnection(MessageActivationSpec activationSpec)
                                  throws JMSException
Parameters:
activationSpec -
Throws:
JMSException

getBootstrapContext

BootstrapContext getBootstrapContext()
Returns:
bootstrap context

getBrokerXmlConfig

String getBrokerXmlConfig()

getInfo

ActiveMQConnectionRequestInfo getInfo()
Returns:
Returns the info.


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.