Class TemporaryQueue

    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        define serialVersionUID for interoperability
        See Also:
        Constant Field Values
      • cnx

        private Connection cnx
        The connection the queue belongs to, null if not known.
    • Constructor Detail

      • TemporaryQueue

        public TemporaryQueue()
      • TemporaryQueue

        public TemporaryQueue​(String agentId,
                              Connection cnx)
        Constructs a temporary queue.
        Parameters:
        agentId - Identifier of the queue agent.
        cnx - The connection the queue belongs to, null if not known.
    • Method Detail

      • toString

        public String toString()
        Returns a String image of the queue.
        Specified by:
        toString in interface Queue
        Overrides:
        toString in class Queue
        Returns:
        A provider-specific identity values for this queue.
      • getCnx

        public Connection getCnx()
        Returns the connection this temporary queue belongs to, null if not known.