You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by cmoulliard <cm...@gmail.com> on 2010/06/03 08:07:49 UTC
JMSXGroupID and customer client dies !!
Hi,
In a topology using JMSXGroupID with two client customers, messages
generated and associated to a group will be send to one of the two
customers. If during the consumption of the messages from one of my customer
AND before the end of the group messages processing, this customer client
dies, then all the messages not consumed and belonging to a groupId
associated to the first customer will be send to the second customer.
Is there a way to avoid that ?
KR,
Charles
-----
Charles Moulliard
SOA Architect
My Blog : http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/
--
View this message in context: http://old.nabble.com/JMSXGroupID-and-customer-client-dies-%21%21-tp28763503p28763503.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: JMSXGroupID and customer client dies !!
Posted by Dejan Bosanac <de...@nighttale.net>.
Hi Charles,
this is how message groups works. You can detect this situation in your
application with JMSXGroupFirstForConsumer message property and act
accordingly
http://activemq.apache.org/message-groups.html#MessageGroups-Gettingnotifiedofownershipchangesofmessagegroups
Cheers
--
Dejan Bosanac - http://twitter.com/dejanb
Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net
On Thu, Jun 3, 2010 at 2:07 AM, cmoulliard <cm...@gmail.com> wrote:
>
> Hi,
>
> In a topology using JMSXGroupID with two client customers, messages
> generated and associated to a group will be send to one of the two
> customers. If during the consumption of the messages from one of my
> customer
> AND before the end of the group messages processing, this customer client
> dies, then all the messages not consumed and belonging to a groupId
> associated to the first customer will be send to the second customer.
>
> Is there a way to avoid that ?
>
> KR,
>
> Charles
>
> -----
> Charles Moulliard
> SOA Architect
>
> My Blog : http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/
> --
> View this message in context:
> http://old.nabble.com/JMSXGroupID-and-customer-client-dies-%21%21-tp28763503p28763503.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>