How to get the model queue name for a given dynamic queue (WebSphere MQ)?

I have a model queue (say MY.MODEL.QUEUE). I open it in process A and create a dynamic queue (say, AMQ.WHATEVER). I am sending a message to another queue, specifying AMQ.WHATEVER as the ReplyTo queue.

Now process B receives the message and responds to the dynamic queue. However, in B, I need to know which model the AMQ.WHATEVER queue belongs to.

I could not find the MQINQ Selector to find out about this. Is there any way?

+3
source share
1 answer

You cannot get from here. :-)

, QMgr .. , , .

, MY.MODEL.QUEUE, DynamicQName MY.MODEL.QUEUE. * . AMQ.WHATEVER MY.MODEL.QUEUE.WHATEVER. JMS API JMS . - , .

+4

Source: https://habr.com/ru/post/1760893/


All Articles