activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: MessageGroup balancing questions
Date Mon, 31 Mar 2014 21:17:05 GMT
On Tue, Mar 11, 2014 at 1:09 PM, Mike Wilson <mikewse@hotmail.com> wrote:
> We're considering using MessageGroups and I have a few
> questions about it:
>
> 1) Is it appropriate to use JSESSIONID for JMSXGroupID
>    in a web scenario?
It's fine to the extent that you're able to clean up after the session
has gone away by closing the message group.
http://activemq.apache.org/message-groups.html

>
> 2) Will messages without JMSXGroupID still be balanced
>    in the traditional way?

Yes.


>
> 3) How are new MessageGroups balanced/distributed?
>    Round-robin, chooses consumer with fewest groups, or
>    chooses consumer with fewest messages in queue?
Round robin.



>
> Thanks
> Mike
>



-- 
Christian Posta
http://www.christianposta.com/blog
twitter: @christianposta

Mime
View raw message