| Package | com.kaazing.gateway.jms.client |
| Interface | public interface Queue extends Destination |
| Subinterfaces | TemporaryQueue |
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
| Property | Defined by | ||
|---|---|---|---|
| queueName : String [read-only] Gets the name of this queue.
| Queue | ||
| Method | Defined by | ||
|---|---|---|---|
|
toString():String
Returns a string representation of this object.
| Queue | ||
| queueName | property |
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
| toString | () | method |
public function toString():StringReturns a string representation of this object.
ReturnsString — the provider-specific identity values for this queue
|