Class QueueFactory

    • Method Detail

      • getDefaultQueue

        public static Queue getDefaultQueue()
        Returns the default Queue.
      • getQueue

        public static Queue getQueue​(String queueName)
        Returns the Queue by name.

        The returned Queue object may not necessarily refer to an existing queue. Queues must be configured before they may be used. Attempting to use a non-existing queue name may result in errors at the point of use of the Queue object and not when calling getQueue(String).