[
https://issues.apache.org/jira/browse/ARTEMIS-5037?focusedWorklogId=945852&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-945852
]
ASF GitHub Bot logged work on ARTEMIS-5037:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 27/Nov/24 13:17
Start Date: 27/Nov/24 13:17
Worklog Time Spent: 10m
Work Description: lavocatt commented on code in PR #5220:
URL: https://github.com/apache/activemq-artemis/pull/5220#discussion_r1860645415
##########
tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/connect/AMQPMirrorConnectionTest.java:
##########
@@ -349,20 +512,41 @@ public void
testProducerMessageIsMirroredWithoutCoreTunnelingUsesDefaultMessageF
doTestProducerMessageIsMirroredWithCorrectMessageFormat(false);
}
+ @Test
+ @Timeout(20)
+ public void testProducerMessageIsMirroredWithNoForwardAndTunneling() throws
Exception {
+ doTestProducerMessageIsMirroredWithCorrectMessageFormat(true, true);
+ }
+
+ @Test
+ @Timeout(20)
+ public void
testProducerMessageIsMirroredWithNoForwardAndTunelingAndWithoutTunneling()
throws Exception {
Review Comment:
Hehe, thanks for pointing this out :sweat_smile:
Issue Time Tracking
-------------------
Worklog Id: (was: 945852)
Time Spent: 4h 40m (was: 4.5h)
> AMQ Broker Mirroring: One to Many - avoid the infinite loop of the messages
> ---------------------------------------------------------------------------
>
> Key: ARTEMIS-5037
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5037
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Thomas Lavocat
> Assignee: Thomas Lavocat
> Priority: Major
> Labels: pull-request-available
> Time Spent: 4h 40m
> Remaining Estimate: 0h
>
> AMQ Broker Mirroring: One to Many - avoid the infinite loop of the messages:
> if we have a->b-c->a..
> a message will circulate forever in the mirrors
--
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