-
Bug
-
Resolution: Done
-
Major
-
None
-
AMQ 7.2.2.GA
-
-
+
-
Verified in a release
-
Consider a broker in a cluster configured with the following divert policy:
<addresses> <address name="DLQ"> <anycast> <queue name="DLQ" /> </anycast> </address> <address name="ExpiryQueue"> <anycast> <queue name="ExpiryQueue" /> </anycast> </address> <address name="TEST.IN"> <anycast> <queue name="TEST.IN"/> </anycast> </address> <address name="A.TEST.IN"> <anycast> <queue name="A.TEST.IN"/> </anycast> </address> </addresses> <diverts> <divert name="TEST"> <routing-name>TEST-divert</routing-name> <address>*.TEST.IN</address> <forwarding-address>TEST.IN</forwarding-address> <exclusive>true</exclusive> </divert> </diverts>
With a standalone broker instance, sending 10 messages to the A.TEST.IN address correctly results in 10 messages forwarded to TEST.IN and 10 dequeues to the consumer listening on that address.
When the broker is clustered, the same policy added to one or both the clustered brokers results in 20 forwards from A.TEST.IN to TEST.IN and duplicate messages / poison acknowledgements at the client.
Adding explicit wildcard address configuration did not seem to change the behavior:
<wildcard-addresses> <routing-enabled>true</routing-enabled> <delimiter>.</delimiter> <any-words>#</any-words> <single-word>*</single-word> </wildcard-addresses>
- duplicates
-
ENTMQBR-2270 Message Duplication when using exclusive divert and clustering
- Closed