Class MessagingServiceJmsConnectionFactory

  • All Implemented Interfaces:
    jakarta.jms.ConnectionFactory

    public class MessagingServiceJmsConnectionFactory
    extends Object
    implements jakarta.jms.ConnectionFactory
    • Constructor Detail

      • MessagingServiceJmsConnectionFactory

        public MessagingServiceJmsConnectionFactory​(org.apache.qpid.jms.JmsConnectionFactory connectionFactory)
    • Method Detail

      • createConnection

        public jakarta.jms.Connection createConnection()
                                                throws jakarta.jms.JMSException
        Specified by:
        createConnection in interface jakarta.jms.ConnectionFactory
        Throws:
        jakarta.jms.JMSException
      • getRemoteURI

        public String getRemoteURI()
      • setRemoteURI

        public void setRemoteURI​(String uri)
        Use this method only for debugging or testing purposes. By setting the remote URI of the ConnectionFactory the Apache QPID configuration settings can be tested.
        Parameters:
        uri - the full qualifier url
      • createConnection

        public jakarta.jms.Connection createConnection​(String userName,
                                                       String password)
                                                throws jakarta.jms.JMSException
        Specified by:
        createConnection in interface jakarta.jms.ConnectionFactory
        Throws:
        jakarta.jms.JMSException
      • createContext

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

        public jakarta.jms.JMSContext createContext​(int sessionMode)
        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