You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Alexander Andreevich Revkov (Jira)" <ji...@apache.org> on 2021/05/21 11:55:00 UTC
[jira] [Created] (ARTEMIS-3312) Federated queue not ack message and
duplicate
Alexander Andreevich Revkov created ARTEMIS-3312:
----------------------------------------------------
Summary: Federated queue not ack message and duplicate
Key: ARTEMIS-3312
URL: https://issues.apache.org/jira/browse/ARTEMIS-3312
Project: ActiveMQ Artemis
Issue Type: Bug
Components: ActiveMQ-Artemis-Native, Broker, Federation
Affects Versions: 2.17.0
Environment: CentOS 7, Java 1.8 oracle (last), java artemis library (jms listener), artemis 2.17.0
Reporter: Alexander Andreevich Revkov
Assignee: Clebert Suconic
Attachments: artemis_bug_fed.gif, image-2021-05-21-14-53-46-390.png
Hello. I have a 3 instances of artemis Cluster (Artemis01 (Master) -> Artemis02 (Slave) and Artemis03 (standalone).
Artemis01 and Artemis02 have upstream federated queue to Artemis03. I run a JMS consumer on Artemis01 (Master) TEST.FEDERATED address (ANYCAST). I send message with producer to Artemis03 TEST.FEDERATE address (ANYCAST). This message auto delivered with federated queue to my consumer on Artemis01 (Master) and i ACK this message. After this i kill process of Artemis01 (Master) with command kill -9 artemis01_pid. My consumer auto reconnect to slave Artemis02 (Slave) and *MY ACK message* *returned back to Artemis 03!* Why? If i received this and ack. After message returned back to Artemis03 federated queue did second delivery this message to my JMS consumer on Artemis 02 (Slave). I think this is incorrect behaviour. I add gif image with details. If i not kill artemis 01 process and use command artemis stop then all work fine and message not returned back and deliver twice! I think this is bug. Please fix it.
!image-2021-05-21-14-53-46-390.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)