michaelandrepearce commented on a change in pull request #2568: ARTEMIS-2262: 
Correlate management response messages with the request
URL: https://github.com/apache/activemq-artemis/pull/2568#discussion_r260474101
 
 

 ##########
 File path: 
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/management/impl/ManagementServiceImpl.java
 ##########
 @@ -390,6 +393,11 @@ public ICoreMessage handleMessage(Message message) throws 
Exception {
       reply.setType(Message.TEXT_TYPE);
       reply.setReplyTo(message.getReplyTo());
 
+      String correlationId = getCorrelationIdentity(message);
+      if (correlationId != null) {
+         MessageUtil.setJMSCorrelationID(reply, correlationId);
 
 Review comment:
   Can we avoid using JMS in core. You should set correlation using core api

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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