You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@artemis.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/03/06 21:19:00 UTC

[jira] [Work logged] (ARTEMIS-5941) AMQP Federation of Wildcard subscriptions can fail if assertions enabled

     [ https://issues.apache.org/jira/browse/ARTEMIS-5941?focusedWorklogId=1008342&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1008342 ]

ASF GitHub Bot logged work on ARTEMIS-5941:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 06/Mar/26 21:18
            Start Date: 06/Mar/26 21:18
    Worklog Time Spent: 10m 
      Work Description: tabish121 opened a new pull request, #6279:
URL: https://github.com/apache/artemis/pull/6279

   Avoid using the WildcardAddressManager to route to an actual wild-card address when a federation link is federating for demand on the wild-card address as that method will throw if assertions are enabled and has likely not been tested for that use.




Issue Time Tracking
-------------------

            Worklog Id:     (was: 1008342)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.53.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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#L54] 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: issues-unsubscribe@artemis.apache.org
For additional commands, e-mail: issues-help@artemis.apache.org