Class ActiveMQRAConnectionFactoryImpl

    • Constructor Detail

      • ActiveMQRAConnectionFactoryImpl

        public ActiveMQRAConnectionFactoryImpl​(ActiveMQRAManagedConnectionFactory mcf,
                                               jakarta.resource.spi.ConnectionManager cm)
        Constructor
        Parameters:
        mcf - The managed connection factory
        cm - The connection manager
    • Method Detail

      • setReference

        public void setReference​(Reference reference)
        Set the reference
        Specified by:
        setReference in interface jakarta.resource.Referenceable
        Parameters:
        reference - The reference
      • createQueueConnection

        public jakarta.jms.QueueConnection createQueueConnection()
                                                          throws jakarta.jms.JMSException
        Create a queue connection
        Specified by:
        createQueueConnection in interface jakarta.jms.QueueConnectionFactory
        Returns:
        The connection
        Throws:
        jakarta.jms.JMSException - Thrown if the operation fails
      • createQueueConnection

        public jakarta.jms.QueueConnection createQueueConnection​(String userName,
                                                                 String password)
                                                          throws jakarta.jms.JMSException
        Create a queue connection
        Specified by:
        createQueueConnection in interface jakarta.jms.QueueConnectionFactory
        Parameters:
        userName - The user name
        password - The password
        Returns:
        The connection
        Throws:
        jakarta.jms.JMSException - Thrown if the operation fails
      • createTopicConnection

        public jakarta.jms.TopicConnection createTopicConnection()
                                                          throws jakarta.jms.JMSException
        Create a topic connection
        Specified by:
        createTopicConnection in interface jakarta.jms.TopicConnectionFactory
        Returns:
        The connection
        Throws:
        jakarta.jms.JMSException - Thrown if the operation fails
      • createTopicConnection

        public jakarta.jms.TopicConnection createTopicConnection​(String userName,
                                                                 String password)
                                                          throws jakarta.jms.JMSException
        Create a topic connection
        Specified by:
        createTopicConnection in interface jakarta.jms.TopicConnectionFactory
        Parameters:
        userName - The user name
        password - The password
        Returns:
        The connection
        Throws:
        jakarta.jms.JMSException - Thrown if the operation fails
      • createConnection

        public jakarta.jms.Connection createConnection()
                                                throws jakarta.jms.JMSException
        Create a connection
        Specified by:
        createConnection in interface jakarta.jms.ConnectionFactory
        Returns:
        The connection
        Throws:
        jakarta.jms.JMSException - Thrown if the operation fails
      • createConnection

        public jakarta.jms.Connection createConnection​(String userName,
                                                       String password)
                                                throws jakarta.jms.JMSException
        Create a connection
        Specified by:
        createConnection in interface jakarta.jms.ConnectionFactory
        Parameters:
        userName - The user name
        password - The password
        Returns:
        The connection
        Throws:
        jakarta.jms.JMSException - Thrown if the operation fails
      • createXAQueueConnection

        public jakarta.jms.XAQueueConnection createXAQueueConnection()
                                                              throws jakarta.jms.JMSException
        Create a XA queue connection
        Specified by:
        createXAQueueConnection in interface jakarta.jms.XAQueueConnectionFactory
        Returns:
        The connection
        Throws:
        jakarta.jms.JMSException - Thrown if the operation fails
      • createXAQueueConnection

        public jakarta.jms.XAQueueConnection createXAQueueConnection​(String userName,
                                                                     String password)
                                                              throws jakarta.jms.JMSException
        Create a XA queue connection
        Specified by:
        createXAQueueConnection in interface jakarta.jms.XAQueueConnectionFactory
        Parameters:
        userName - The user name
        password - The password
        Returns:
        The connection
        Throws:
        jakarta.jms.JMSException - Thrown if the operation fails
      • createXATopicConnection

        public jakarta.jms.XATopicConnection createXATopicConnection()
                                                              throws jakarta.jms.JMSException
        Create a XA topic connection
        Specified by:
        createXATopicConnection in interface jakarta.jms.XATopicConnectionFactory
        Returns:
        The connection
        Throws:
        jakarta.jms.JMSException - Thrown if the operation fails
      • createXATopicConnection

        public jakarta.jms.XATopicConnection createXATopicConnection​(String userName,
                                                                     String password)
                                                              throws jakarta.jms.JMSException
        Create a XA topic connection
        Specified by:
        createXATopicConnection in interface jakarta.jms.XATopicConnectionFactory
        Parameters:
        userName - The user name
        password - The password
        Returns:
        The connection
        Throws:
        jakarta.jms.JMSException - Thrown if the operation fails
      • createXAConnection

        public jakarta.jms.XAConnection createXAConnection()
                                                    throws jakarta.jms.JMSException
        Create a XA connection
        Specified by:
        createXAConnection in interface jakarta.jms.XAConnectionFactory
        Returns:
        The connection
        Throws:
        jakarta.jms.JMSException - Thrown if the operation fails
      • createXAConnection

        public jakarta.jms.XAConnection createXAConnection​(String userName,
                                                           String password)
                                                    throws jakarta.jms.JMSException
        Create a XA connection
        Specified by:
        createXAConnection in interface jakarta.jms.XAConnectionFactory
        Parameters:
        userName - The user name
        password - The password
        Returns:
        The connection
        Throws:
        jakarta.jms.JMSException - Thrown if the operation fails
      • createContext

        public jakarta.jms.JMSContext createContext()
        Specified by:
        createContext in interface jakarta.jms.ConnectionFactory
      • createContext

        public jakarta.jms.JMSContext createContext​(String userName,
                                                    String password)
        Specified by:
        createContext in interface jakarta.jms.ConnectionFactory
      • createContext

        public jakarta.jms.JMSContext createContext​(String userName,
                                                    String password,
                                                    int sessionMode)
        Specified by:
        createContext in interface jakarta.jms.ConnectionFactory
      • createContext

        public jakarta.jms.JMSContext createContext​(int sessionMode)
        Specified by:
        createContext in interface jakarta.jms.ConnectionFactory
      • createXAContext

        public jakarta.jms.XAJMSContext createXAContext()
        Specified by:
        createXAContext in interface jakarta.jms.XAConnectionFactory
      • createXAContext

        public jakarta.jms.XAJMSContext createXAContext​(String userName,
                                                        String password)
        Specified by:
        createXAContext in interface jakarta.jms.XAConnectionFactory