[jboss-user] [JBoss Messaging] - Re: Viewing message contents in a queue

timfox do-not-reply at jboss.com
Tue May 29 16:38:00 EDT 2007

"parressh" wrote : So, it would make sense for the JMX MBean for the queue to show a message count of 20, but for the QueueBrowser to not see any messages?  So that inconsistency is normal?

The Message Count attribute is defined as:

Number of messages in queue + Number of messages that have been delivered but not acknowledged yet + Number of scheduled message

anonymous wrote : 
  | I'm looking through the docs now to see how to configure the number of messages pulled down from JMS, but I'm not sure I've found it yet. 

anonymous wrote : 
  | Also, I would have thought that the messages would still be on the queue until the MDB finishes and the transaction commits. 

No, they're removed from the queue at delivery time, and put back if the transaction subsequently rolls back.

If they're not in the queue, you can see its going to be quite difficult for you to browse them.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049528#4049528

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049528

More information about the jboss-user mailing list