简体   繁体   中英

How to get message from a queue hosted in another queue manager in IBM MQ cluster

According to this: IBM MQ issue with cluster queue we cant get message from a queue hosted on another queue manager with this code:

mqQueue = mqQueueMgr.AccessQueue("queue name", MQC.MQOO_INPUT_SHARED);

Is there any way to get message without connecting to that queue manager?

It is not the problem with your code. It is by MQ design that only applications directly connected to queue manager can get messages.

It would be useful if you can explain your scenario a little more to see if there are any alternatives.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM