getQueueName

 

public String getQueueName();

Gets the name of this queue. Clients that depend upon the name are not portable.

Returns

  • a string in the form of a URI that can be used in the creation methods to reconstruct this object. The URI is in the form:

    queue://qmgrName/queueName [name-value pairs]

    Where: qmgrName is the name of the queue manager on which the queue resides. queueName is the name of the queue [name-value pairs] is an optional list of name-value pairs that sets some Queue properties.

Exceptions

  • JMSException - if JMS implementation for queue fails to return the queue name because of an internal error.


uj29630_