Add queue manager

You can add and delete queue manager names with the following actions:

You can add or remove multiple queue manager names with one administration message.

You can put names directly into the message by setting the ASCII array field Queue_QMgrNameList.

Alternatively, you can use the methods:
  • addQueueManager()
  • removeQueueManager()
Each of these methods takes one queue manager name, but you can call the method repeatedly to add multiple queue managers to a message.

This action is specific to store and forward queues. In the following example multiple queue manager names are added to a String array (queueManagerNames) and set into the fields object. The action and fields object are added to the message.

Parent topic: Configuring store-and-forward queues