Class QueueFactory (2.0.0)

public final class QueueFactory

Creates Queue objects. QueueFactory is thread safe.

Inheritance

java.lang.Object > QueueFactory

Static Methods

getDefaultQueue()

public static Queue getDefaultQueue()

Returns the default Queue.

Returns
Type Description
Queue

getQueue(String queueName)

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).

Parameter
Name Description
queueName String
Returns
Type Description
Queue