You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2016/09/09 21:23:20 UTC

[jira] [Updated] (ARTEMIS-562) Use 'to' field if sender target is null

     [ https://issues.apache.org/jira/browse/ARTEMIS-562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish updated ARTEMIS-562:
---------------------------------
    Attachment: anonymous-relay.patch

Here's a rough patch to get this working to some extent, more work needed by someone that actually understands all the Artemis internals.  Tests added for some of the obvious cases of what it should do, although I didn't validate that the error conditions returned match what they should be.  

> Use 'to' field if sender target is null
> ---------------------------------------
>
>                 Key: ARTEMIS-562
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-562
>             Project: ActiveMQ Artemis
>          Issue Type: New Feature
>          Components: AMQP, Broker
>    Affects Versions: 1.3.0
>            Reporter: Gordon Sim
>         Attachments: anonymous-relay.patch, anonymous_sender.py
>
>
> ActiveMQ5 (and other AMQP brokers) support creating a sender with a null target, and then identifying the destination of each messages via the 'to' field. This is very useful in some request-response cases, as it avoids the 'service' having to create and manage senders for every reply-to address. Indeed the qpid-proton request-response examples rely on this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)