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)
- Version:
- $Revision$
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-2011 Apache Software Foundation. All Rights Reserved.