[ 
https://issues.apache.org/activemq/browse/AMQ-2106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=53480#action_53480
 ] 

Luis Rojas commented on AMQ-2106:
---------------------------------

There has never been guarantee of message ordering. When there are several 
consumers for the same queue, even though messages can be dispatched in order, 
it is impossible to tell if they were processed in order by the consumers, as 
some of them can be faster than the others. The guarantee of message ordering 
happens only when there is just one consumer or, as in this case, message 
groups are used, as there will be only one consumer assigned to a specific 
group.
In that case, it is safe to send messages to a new consumer (reassigning the 
group) after ANY message has been acknowledged by the previous consumer. Even 
more, as this will be done under load, maybe there will never be a "last" 
message, as new messages may be always arriving.

But nothing happens with this feature so far, which means every time a consumer 
crashes, ActiveMQ must be restarted to put the consumer back online :-(, which 
means to put offline all consumers !!


> Allow broker to evenly distribute message groups among consumers
> ----------------------------------------------------------------
>
>                 Key: AMQ-2106
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2106
>             Project: ActiveMQ
>          Issue Type: New Feature
>          Components: Broker
>    Affects Versions: 5.2.0
>            Reporter: Dejan Bosanac
>            Assignee: Dejan Bosanac
>
> Currently the broker will not reassign message groups if new consumers 
> becomes available (or existing ones are removed). We could allow the broker 
> to try reassign the message groups when consumers are added/removed so that 
> we have a even distribution among consumers. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to