michaelandrepearce commented on a change in pull request #2634: ARTEMIS-2316 
AMQPMessage missing ApplicationProperties from custom transformer
URL: https://github.com/apache/activemq-artemis/pull/2634#discussion_r277775214
 
 

 ##########
 File path: 
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/DivertImpl.java
 ##########
 @@ -122,6 +122,7 @@ public void route(final Message message, final 
RoutingContext context) throws Ex
 
          if (transformer != null) {
             copy = transformer.transform(copy);
+            copy.reencode();
 
 Review comment:
   This should be responsibility of the transformer code. 

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to