You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by GitBox <gi...@apache.org> on 2019/02/26 20:31:40 UTC

[GitHub] michaelandrepearce commented on a change in pull request #2568: ARTEMIS-2262: Correlate management response messages with the request

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:
users@infra.apache.org


With regards,
Apache Git Services