Mihael Schmidt created ARTEMIS-5514:
---------------------------------------

             Summary: Moved message gets duplicated for all subscribers on 
mirror server
                 Key: ARTEMIS-5514
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5514
             Project: ActiveMQ Artemis
          Issue Type: Bug
          Components: Broker, Clustering
    Affects Versions: 2.39.0
         Environment: Both server are running on:
Linux xzy 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) 
x86_64

Java:
openjdk 22.0.2 2024-07-16
OpenJDK Runtime Environment (build 22.0.2+9-70)
OpenJDK 64-Bit Server VM (build 22.0.2+9-70, mixed mode, sharing)
            Reporter: Mihael Schmidt


I have the following setup.
 
2 servers (A and B)
1 topic
1 producer (JMS)
10 subscribers (JMS)
1 error queue
 
We are using dual mirroring.
 
Case: One subscriber could not process the message. The original message is 
acked and the subscriber created a duplicate of the message (but a new messasge 
from the broker perspective) in the error queue so that he can process the next 
message. So far so good. Now I fixed the problem and wanted the subscriber to 
again process the message. I do that by moving the message from the error queue 
to the queue of the subscriber. I do that via the Artemis Web Console.
  # 
Open tab "Queues"
 # 
Click on the message count of the error queue
 # 
Select message
 # 
Click "Move Messages"
 # 
Select subscriber queue (Field "Move to")
 # 
Click "Move"

 
The message is moved and the subscriber processed the message without a problem.
 
I did that on server A.
 
The problem I now have is that I have the processed message also in all other 
queues linked to that topic on the server B.  The headers and JMS properties 
all look exactly the same for all the dupllicated messages.
 
Server A looks good. No duplicated messages.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to