I don't really understand how changing the HashSet -> ArrayList really helps distribution of load. It might change the iteration order, but the order then wouldn't change.
Here's what I think is the problem. 1. No receivers 2. Queue receives, say 100 messages 3. A receiver is added When the receiver is added, it gets blasted all 100 messages 4. Another receiver is added 5. A message comes in, it goes to the first receiver, the second is ignored. Etc. (3) is a hard to solve problem, but at least (5) would be easy enough to fix. It would be a matter of looping the iteration per message. Numbers-wise the load then would be distributed evenly, but not necessarily fairly. Why don't we see this with MDB? Because there's one connection with multiple sessions. Multiple connections is probably the cause of this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833852#3833852 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833852 ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
