Timothy A. Bish created ARTEMIS-5941:
----------------------------------------
Summary: AMQP Federation of Wildcard subscriptions can fail if
assertions enabled
Key: ARTEMIS-5941
URL: https://issues.apache.org/jira/browse/ARTEMIS-5941
Project: Artemis
Issue Type: Bug
Components: AMQP, Federation
Affects Versions: 2.52.0
Reporter: Timothy A. Bish
Assignee: Timothy A. Bish
Fix For: 2.53.0
If AMQP federation is federating messages from a remote back to a wild-card
subscription binding it can currently fail if JVM assertions are enabled due to
[this|https://github.com/apache/artemis/blob/8cc9f68ec67d2900fdf8291ad67937950fde98ee/artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/impl/WildcardAddressManager.java#L5]
method in the WildcardAddressManager which is an indication this method was
never meant to route direct sends into a wild-card address when treating it as
a literal string as this federation code would be doing. Instead of attempting
to route through this code in this manner we can use the federation code that
routes direct to the bindings that generated the demand to ensure that we do
not fail when federating a message if assertions are enabled.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]