[ 
https://issues.apache.org/jira/browse/ARTEMIS-4799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853097#comment-17853097
 ] 

ASF subversion and git services commented on ARTEMIS-4799:
----------------------------------------------------------

Commit fad1f5274cc609d01c8b83514c9cfa4ad0b4fa2e in activemq-artemis's branch 
refs/heads/main from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=fad1f5274c ]

ARTEMIS-4799 Fix broker connection receiver attach handling

The receiver attach in broker connection does not wait for the remote
attach to arrive before creating the broker side receiver plumbing which
leads to the broker treating the remote sender as an anonymous relay when
it is not and should not be. Await the remote attach in response to the
attach sent by the broker connection to finish the link setup but use the
locally defined target address vs the remote to route the incoming messages.


> Broker Connection Receiver attach handled incorrectly
> -----------------------------------------------------
>
>                 Key: ARTEMIS-4799
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4799
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: AMQP
>    Affects Versions: 2.34.0
>            Reporter: Timothy A. Bish
>            Assignee: Timothy A. Bish
>            Priority: Minor
>             Fix For: 2.35.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The AMQP Broker Connection Receiver configuration creates a receiver for 
> messages from a remote AMQP source however the attach handling is not 
> properly handled leading to a receiver that thinks it is operating as an 
> opened anonymous relay sender meaning it only routes messages with a set 'To' 
> field in the properties.  The receiver attach should be using the locally 
> defined target as the address for incoming messages and ignore an 'To' value 
> in the message properties.



--
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


Reply via email to