setQueueManager

 

public void setQueueManager(String queueManagerName) throws JMSException;

Sets the name of the queue manager.

Parameters

  • queueManagerName - the queue manager which is used when selecting a channel definition. This can be in of the following forms:

    • "qMgrName", where the actual name of the required queue manager is passed in. The channel must connect to a queue manager of this name.

    • "*qMgrName", where "*" followed by the actual name of the required queue manager is passed in. The channel definition that is used must specify this queue manager name. This full name is passed onto the queue manager during a connect, but the queue manager that is ultimately connected to may not have the same name as specified here after the ”*”.

    • "*" or "" or a name which consists entirely of blanks is used. The actual queue manager name is disregarded when a channel definition is being selected.

Exceptions

  • JMSException - if queueManagerName is either null or too long.


uj28650_