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 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

      Returns:
      Returns the info.