Class TibjmsUFOQueueConnectionFactory

    • Constructor Detail

      • TibjmsUFOQueueConnectionFactory

        public TibjmsUFOQueueConnectionFactory()
      • TibjmsUFOQueueConnectionFactory

        public TibjmsUFOQueueConnectionFactory​(java.lang.String serverUrls)
      • TibjmsUFOQueueConnectionFactory

        public TibjmsUFOQueueConnectionFactory​(java.lang.String serverUrls,
                                               java.lang.String clientId)
      • TibjmsUFOQueueConnectionFactory

        public TibjmsUFOQueueConnectionFactory​(java.lang.String serverUrls,
                                               java.lang.String clientId,
                                               java.util.Map properties)
    • Method Detail

      • clone

        public java.lang.Object clone()
                               throws java.lang.CloneNotSupportedException
        Overrides:
        clone in class TibjmsUFOConnectionFactory
        Throws:
        java.lang.CloneNotSupportedException
      • createQueueConnection

        public QueueConnection createQueueConnection()
                                              throws JMSException
        Description copied from interface: QueueConnectionFactory
        Creates a queue connection with the default user identity. The connection is created in stopped mode. No messages will be delivered until the Connection.start method is explicitly called.
        Specified by:
        createQueueConnection in interface QueueConnectionFactory
        Returns:
        a newly created queue connection
        Throws:
        JMSException - if the Jakarta Messaging provider fails to create the queue connection due to some internal error.
        JMSSecurityException - if client authentication fails due to an invalid user name or password.
      • createQueueConnection

        public QueueConnection createQueueConnection​(java.lang.String userName,
                                                     java.lang.String password)
                                              throws JMSException
        Description copied from interface: QueueConnectionFactory
        Creates a queue connection with the specified user identity. The connection is created in stopped mode. No messages will be delivered until the Connection.start method is explicitly called.
        Specified by:
        createQueueConnection in interface QueueConnectionFactory
        Parameters:
        userName - the caller's user name
        password - the caller's password
        Returns:
        a newly created queue connection
        Throws:
        JMSException - if the Jakarta Messaging provider fails to create the queue connection due to some internal error.
        JMSSecurityException - if client authentication fails due to an invalid user name or password.
      • writeExternal

        public void writeExternal​(java.io.ObjectOutput out)
                           throws java.io.IOException
        Specified by:
        writeExternal in interface java.io.Externalizable
        Overrides:
        writeExternal in class TibjmsUFOConnectionFactory
        Throws:
        java.io.IOException
      • readExternal

        public void readExternal​(java.io.ObjectInput in)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException
        Specified by:
        readExternal in interface java.io.Externalizable
        Overrides:
        readExternal in class TibjmsUFOConnectionFactory
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getCurrentUrl

        public java.lang.String getCurrentUrl()