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

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

                Author: ASF GitHub Bot
            Created on: 26/Oct/20 14:19
            Start Date: 26/Oct/20 14:19
    Worklog Time Spent: 10m 
      Work Description: clebertsuconic commented on a change in pull request 
#3294:
URL: https://github.com/apache/activemq-artemis/pull/3294#discussion_r511995490



##########
File path: 
artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/connect/mirror/AMQPMirrorControllerTarget.java
##########
@@ -321,11 +322,16 @@ private void sendMessage(AMQPMessage message) throws 
Exception {
       }
 
       Long internalID = (Long) 
AMQPMessageBrokerAccessor.getDeliveryAnnotationProperty(message, INTERNAL_ID);
+      String internalAddress = (String) 
AMQPMessageBrokerAccessor.getDeliveryAnnotationProperty(message, 
INTERNAL_DESTINATION);
 
       if (internalID != null) {
          message.setBrokerProperty(INTERNAL_ID_EXTRA_PROPERTY, internalID);
       }
 
+      if (internalAddress != null) {
+         message.setAddress(internalAddress);
+      }

Review comment:
       I see, you're suggesting to not set the field, if the to field is the 
same here..
   
   makes sense.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

    Worklog Id:     (was: 504734)
    Time Spent: 23h 40m  (was: 23.5h)

> AMQP Server Connectivity
> ------------------------
>
>                 Key: ARTEMIS-2937
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2937
>             Project: ActiveMQ Artemis
>          Issue Type: New Feature
>          Components: AMQP
>            Reporter: Clebert Suconic
>            Assignee: Clebert Suconic
>            Priority: Major
>             Fix For: 2.16.0
>
>          Time Spent: 23h 40m
>  Remaining Estimate: 0h
>
> This feature adds server side connectivity.
>  
> It is possible to link two brokers directly using AMQP with this feature, and 
> have a Queue transferring messages to another broker directly. 
>  
> For this we would have options called <sender and <receiver
>  
>  
> it would also be possible to use qpid-dispatch as an intermediary between 
> clients and the brokers (or eventually between brokers), on that case the 
> option will be <peer
>  
> it would also be possible to use <mirror with a few option to replicate data 
> between two brokers, bringing the possibility of using it for Disaster & 
> Recovery and Failover.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to