Liviu Citu created ARTEMIS-4276:
-----------------------------------

             Summary: Message Group does not replicate properly during failover
                 Key: ARTEMIS-4276
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4276
             Project: ActiveMQ Artemis
          Issue Type: Bug
    Affects Versions: 2.28.0
            Reporter: Liviu Citu


Hi,

We are currently migrating our software from Classic to Artemis and we plan to 
use failover functionality.

We were using message group functionality by setting *JMSXGroupID* and this was 
working as expected. However after failover switch I noticed that messages are 
sent to wrong consumers.

Our gateway/interface application is actually a collection of servers:
 * gateway adapter server: receives messages from an external systems and puts 
them on a specific/virtual topic
 * gateway loader server (can be balanced): picks up the messages from the 
topic and do processing
 * gateway fail queue: monitors all messages that failed processing and has a 
functionality of resubmitting the message (users will correct the processing 
errors and then resubmit transaction)

*JMSXGroupID* is used to ensure that during message resubmit the same 
consumer/loader is processing the message as it was originally processed.

However, if the message resubmit is happening during failover switch we have 
noticed that the message is not sent to the right consumer as it should. 
Basically the first available consumer is used which is not what we want.

I have searched for configuration changes but couldn't find any relevant 
information.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to