[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: WindowSize=1 behaviour?
clebert.suconic@jboss.com
do-not-reply at jboss.com
Fri Mar 27 10:16:10 EDT 2009
"timfox" wrote : I didn't understand your test - it looks weird. Also you're calling commit on a non transacted session...
I was calling the commit, just to make sure any pending ACK would be flushed to the server, so this assertion would be valid:
| assertEquals(0, getMessageCount(service, ADDRESS.toString()));
|
But I just removed it now.
The test is creating two consumers consumers (consNeverUsed and cons1) before any messages are sent.
consNeverUsed should never buffer any messages, and it is actually buffering it.
I've tried using windowSize = 0, but createSession was complaining about it.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221566#4221566
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221566
More information about the jboss-dev-forums
mailing list