[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: JBMESSAGING-1460 - ScheduledDeliveryTest on JBM 1.4
gaohoward
do-not-reply at jboss.com
Thu Dec 18 22:36:37 EST 2008
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#4197498
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197498
More information about the jboss-dev-forums
mailing list