Remote queues

 

To a program, a queue is remote if it is owned by a different queue manager to the one to which the program is connected. Where a communication link has been established, a program can send a message to a remote queue. A program can never get a message from a remote queue.

When opening a remote queue, to identify the queue specify either:

Local definitions of remote queues have three attributes in addition to the common attributes described in Attributes of queues. These are RemoteQName (the name that the queue’s owning queue manager knows it by), RemoteQMgrName (the name of the owning queue manager), and XmitQName (the name of the local transmission queue that is used when forwarding messages to other queue managers). For a fuller description of these attributes, see the Application Programming Reference.

If you use the MQINQ call against the local definition of a remote queue, the queue manager returns the attributes of the local definition only, that is the remote queue name, the remote queue manager name, and the transmission queue name, not the attributes of the matching local queue in the remote system.

See also Transmission queues.

 

Parent topic:

Queues


fg10980_