여기 내 상황입니다.WebSphere MQ 영구 가입 브라우징
관리 대기열을 사용하는 영구 가입에서 보류중인 메일에 대해 찾아보기 기능을 사용하여 가입 대기열에 직접 액세스 할 수 없습니다. 이 큐가 있었다면
, 단순히 그러나
remoteDestination = session.QueueManager.AccessQueue(
remoteQueueName,
MQC.MQOO_BROWSE // request browse mode
+ MQC.MQOO_FAIL_IF_QUIESCING // but not if MQM stopping
+ MQC.MQOO_INQUIRE // request inquire permissions to read stats
);
같은 것을 사용하는 것이하는 durablesub'd 주제에, 사용 가능한 찾아보기 플래그 SOOOOO
remoteDestination = session.QueueManager.AccessTopic(
remoteTopicName,
remoteTopicObject,
MQC.MQOO_BROWSE //can not use an MQOO option here!!!
+ MQC.MQSO_CREATE // create the topic if not already created
+ MQC.MQSO_ANY_USERID // allow any user to reattach to this subscription in the future
// otherwise, only the user who created the subscription can reattach
+ MQC.MQSO_ALTER // create (or reattach) to subscription requesting rights to make changes
+ MQC.MQSO_FAIL_IF_QUIESCING // if the server is shutting down, fail
+ MQC.MQSO_DURABLE // the subscription is durable
+ MQC.MQSO_MANAGED, // the queue manager will create consup
"", // alternate user ID
subscriptionName // name of the subscription
);
없다, 나는 단순히입니다 이것이 가능한지 궁금한가요? 애플 리케이션이 다시 첨부하기 전에 내구성 서브 스크립 션에서 얼마나 많은 메시지를 소비하는지 알려주는 앱이 있어야 할 것으로 생각된다.
이 모든 것의 목적은 서비스 응용 프로그램이 문제 해결을 위해 영구 가입의 모든 "보류 중"메시지를 대화 형 사용자에게 표시 할 수있게합니다.
사전에 도와 주실 수있는 분들께 감사드립니다!
건배, 크리스
안녕하세요. T.Rob. 나는 당신의 답장을 보지 못했습니다 (질문 후 얼마되지 않았습니다). 그러나 결국 우리가 취한 접근법이 끝났습니다. 그래서 이것은 사실 내 의견으로는 가장 좋은 대답입니다! – DigitalPigeon
업데이트 해 주셔서 감사 드리며 기쁘게 생각합니다. –