When using MDBs you have a pool of sessions that need loading.

The default is 15.

So the MDB will try to read 16 messages, 15 to load the sessions and one for readahead
for when one of the sessions has finished processing its current message.
Only when all the sessions are loaded and the one readahead has been done will it not
re-ask the server for a message.

The problem the other guy was seeing with the HashSet was is that it is read
in hashCode order so it favours receivers with lower hashCodes.
With the ArrayList, it should be "round robining". What are you seeing?
Add a
log.debug("Receivers: " + receivers);
in addReceiver, receive and internalAddMessage

I'm interested in fixing this, but it is not a high priority to me.

Regards,
Adrian

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832279#3832279

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832279


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to