Packagecom.kaazing.gateway.jms.client
Interfacepublic interface Queue extends Destination
SubinterfacesTemporaryQueue

A Queue object encapsulates a provider-specific queue name. It is the way a client specifies the identity of a queue to JMS API methods. For those methods that use a Destination as a parameter, a Queue object used as an argument. For example, a queue can be used to create a MessageConsumer and a MessageProducer by calling: UL> LI> Session.CreateConsumer(Destination destination) LI> Session.CreateProducer(Destination destination) /UL>

The actual length of time messages are held by a queue and the consequences of resource overflow are not defined by the JMS API.

See also

Session.createConsumer(Destination)
Session.createProducer(Destination)
Session.createQueue(String)
QueueSession.createQueue(String)


Public Properties
 PropertyDefined by
  queueName : String
[read-only] Gets the name of this queue.
Queue
Public Methods
 MethodDefined by
  
toString():String
Returns a string representation of this object.
Queue
Property detail
queueNameproperty
queueName:String  [read-only]

Gets the name of this queue.

Clients that depend upon the name are not portable.

Implementation
    public function get queueName():String
Method detail
toString()method
public function toString():String

Returns a string representation of this object.

Returns
String — the provider-specific identity values for this queue