MQQueue

 

public MQQueue(String queueName) throws JMSException;

Creates a new MQQueue object.

Parameters

  • queueName - is one of:

    • the name of a base WebSphere MQ queue - assumes default queue manager

    • a uniform resource identifier (URI). This form allows you to specify remote queues (queues on a queue manager other than the one to which you are connected). It also allows you to set the other properties contained in the 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 the remaining Queue properties. If the name of the queue manager is omitted the queue manager to which the owning QueueConnection is connected is used.

Exceptions

  • JMSException - if the queue or queue manager names are invalid.


uj29600_