I have configured JBossMQ(4.01sp1) to work in clustered mode(HAJMS).
I just had couple of questions on how JBossMQ handles multiple MessageListener registered to receive messages on a Queue.
1. Is there any advantage in registering a pool of MessageListeners on a Queue?
2. Does JBossMQ do any load distribution by employing a message distribution strategy like round robin or load based message distribution to each registered MessageListener?
It would be great if someone can provide an insight.
The usual strategy is to use a MDB rather than creating a pool of listeners. But you don't get any more messaging performance on the JBoss side.
JBoss distributes messages using a round-robin strategy