Wednesday, November 25, 2009

JMS: difference between PENDING and CURRENT

MessagesPendingCount

The number of pending messages in the destination.
Pending messages are over and above the current number of messages. A pending message is one that has either been sent in a transaction and not committed, or that has been received and not committed or acknowledged.


MessagesCurrentCount

The current number of messages in the destination. This does not include the pending messages.


When you do "show messages",

No comments: