2100对象已经存在,如何清除动态队列 [英] 2100 object already exists,how to clear the dynamic queue

查看:60
本文介绍了2100对象已经存在,如何清除动态队列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Iam在用户同时登录IBM MQ时使用IBM,当第二个用户到达并尝试访问获得2100的getqueue时,MQrc_Object Alresy Exists.Kindly提供一些建议



连接到MQ Manager:





mqQueueManager = new MQQueueManager(mqQueueManagerName);





Open Put Queue:

mqPutQueue = mqQueueManager.AccessQueue(mqRequestQueueName,MQC.MQOO_INQUIRE |
MQC。 MQOO_OUTPUT | MQC.MQOO_FAIL_IF_QUIESCING);







打开获取队列获取错误第二个用户尝试进入,即使在第二个用户无法进入之后,MQ中的Firts用户会话也将被删除,直到我们关闭应用程序:





mqGetQueue = mqQueueManager.AccessQueue(mqModelQueueName,MQC.MQOO_INPUT_SHARED,

mqQueueManagerName,mqReplyQueueName,);



我不知道如何删除动态队列。

Iam Using IBM whenever simultaneous users log in to the IBM MQ,when the second user comes and try to acces the getqueue iam getting 2100,MQrc_Object Alresy Exists.Kindly provide some suggestion

Connect to MQ Manager:


mqQueueManager = new MQQueueManager(mqQueueManagerName);


Open Put Queue:
mqPutQueue = mqQueueManager.AccessQueue(mqRequestQueueName, MQC.MQOO_INQUIRE |
MQC.MQOO_OUTPUT | MQC.MQOO_FAIL_IF_QUIESCING);



Open The get Queue getting error Second user trys to enter,the Firts users session in the MQ will be deleted even after that Second user unable to enter,until we close the application:


mqGetQueue = mqQueueManager.AccessQueue(mqModelQueueName, MQC.MQOO_INPUT_SHARED ,
mqQueueManagerName, mqReplyQueueName, "");

I dont know how to delete the dynamic Queue.

推荐答案

这是否有任何帮助



https://www.ibm.com/developerworks/community/forums/html/topic ?id = 77777777-0000-0000-0000-000000182247 [ ^ ]
Is this of any help

https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000000182247[^]




i解决了类似的动态队列名称mqReplyQueueName->每次我都会随机生成一个新的动态队列名称。
Hi ,
i solved Like For the Dynamic Queue Name mqReplyQueueName-> Each time it comes i randomly generated an new dynamic queue name.


这篇关于2100对象已经存在,如何清除动态队列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆