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&...]