On 10/17/06, me9999 <[EMAIL PROTECTED]> wrote:
By "listening to a message group" I mean the consumer sets JMSXGroupID to the message group name upon creation.
How does the consumer set a JMSXGroupID? FWIW only the producer sets a JMSXGroupID header on messages it sends.
The producer sends messages to that message group. There is one message group in my test.
Then all messages will go to one of the consumers. Note that there is currently no way for a consumer to tell the broker which message groups it wants to consume - this is by design, the idea being for the broker ot be a sticky load balancer on the consumers behalf. Though if you really want you could use a selector to filter on message groups - but then there'd be no real point using message groups if you wanted to hand-code the routing. -- James ------- http://radio.weblogs.com/0112098/
