How to show all the messages of a queue in the server when Correlation Id is not used?
book
Article ID: KB0091885
calendar_today
Updated On:
TIBCO Enterprise Message Service
|
-
|
Not Applicable
|
-
|
Description
Resolution:
The administration tool can not be used directly to do that.
Indeed, the "show messages" command requires a <correlationId>.
You need first to get all the <messageIds> of the queue.
To do so:
1- create a program that implements a QueueBrowser
2- for each message, print the message Id using the Message.getJMSMessageID() method
Then, back to the administration tool:
3- use the command "show message <messageId>", using each messageId printed by the above QueueBrowser program.
Note that this possible only for queues, not topics.
Issue/Introduction
How to show all the messages of a queue in the server when Correlation Id is not used?
Environment
Product: TIBCO Enterprise Message Service
Version: 2.x.x, 3.x.x
OS: All
--------------------
Feedback
thumb_up
Yes
thumb_down
No