Get ClusterName of MQ Queue using Java
I'm building a java application that connects to a MQQueueManager and extracts information about queues. I'm able to get data like QueueType , MaximumMessageLength and more. However, I also want the name of the cluster the queue might be in. There is no function that comes with the MQQueue that gives me this information. After searching the internet I found several things pointing in this direction, but no examples. A part of my function that gives me the MaximumDepth is: queueManager = makeConnection(host, portNo, qMgr, channelName); queue = queueManager.accessQueue(queueName, CMQC.MQOO