JBoss Community

Negative MessageCount

reply from Yong Hao Gao in JBoss Messaging - View the full discussion

Yes it's possible to be negative.

 

The reason for this is that the message delivering and acknowledging are synchronous. A messages is being delivered to a consumer in a thread and the counter is updated in another. So their is a chance that a message ack comes bebore the counter is added.

 

Howard

Reply to this message by going to Community

Start a new discussion in JBoss Messaging at Community