Yes this is a bug. The 1460 fix doesn't handle the count correctly.
look at the method
public void removeAllReferences() throws Throwable
{
synchronized (lock)
{
.....//removing all non scheduled msg from memory.
deliveringCount.set(0);
}
//clear sch
clearAllScheduledDeliveries(true);
So the count will go minus. I should have put it before the
deliveringCount.set(0);
and the count should be OK.
Sorry, I'll correct it.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197498#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...