you can read about Queue Manager Clusters
"As with distributed queuing, an application uses the MQPUT call to put a message on a cluster queue at any queue manager. An application uses the MQGET call to retrieve messages from a cluster queue on the local queue manager. "
when you are dealing with server binding mode and cluster queue manager you can use MQPUT on any QM in the cluster , when using MQGET you should use the local QM - otherwise you will get reason code - 2085 while try to access/open it.
i used the next c++ option when i open the queue.
for get: MQOO_INPUT_AS_Q_DEF
For put : MQOO_OUTPUT
Yaniv T
No comments:
Post a Comment