[jboss-user] [JBoss Messaging] - List all messages in a clustered Queue
Lars Bilger
do-not-reply at jboss.com
Wed Apr 4 06:03:39 EDT 2012
Lars Bilger [https://community.jboss.org/people/lbilger] created the discussion
"List all messages in a clustered Queue"
To view the discussion, visit: https://community.jboss.org/message/728198#728198
--------------------------------------------------------------
We are running JBoss EAP 5.0 in a clustered environment, containing clustered queues. We need a list of all messages currently queued for two reasons:
1. The customer wants a screen in the application where administrators can get an overview of the queued messages.
2. Sometimes, when creating messages, we want to check first if a similar message is already queued. If so, we want to suppress the creation of the new message.
We have tried using a Queue Browser, but that doesn't show us all of the queue's messages. We found an explanation of this behaviour in https://community.jboss.org/docs/DOC-10095 https://community.jboss.org/wiki/JBMCluster: "Note: You cannot see all the messages in the queue if it's clusterd"
Has anyone had the same requirement and solved this problem? What is the recommended way to get a list of all messages in a clustered queue?
The only way I could think of is to access the database table that JBoss stores the messages in and manually de-serialize the data, but that seems quite "dirty" to me.
Any help would be appreciated.
Lars
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/728198#728198]
Start a new discussion in JBoss Messaging at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120404/7b6ef02e/attachment.html
More information about the jboss-user
mailing list