You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2017/05/23 13:39:23 UTC

[1/2] activemq-artemis git commit: This closes #1284

Repository: activemq-artemis
Updated Branches:
  refs/heads/master f84d9f811 -> 298e60a1d


This closes #1284


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/298e60a1
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/298e60a1
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/298e60a1

Branch: refs/heads/master
Commit: 298e60a1d4ffd6d9f7f724f683dddbcbf89a2adb
Parents: f84d9f8 7e47dc3
Author: Clebert Suconic <cl...@apache.org>
Authored: Tue May 23 09:39:09 2017 -0400
Committer: Clebert Suconic <cl...@apache.org>
Committed: Tue May 23 09:39:09 2017 -0400

----------------------------------------------------------------------
 .../artemis/core/server/management/impl/ManagementServiceImpl.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------



[2/2] activemq-artemis git commit: [ARTEMIS-1176] Turn management reply messages into text messages

Posted by cl...@apache.org.
[ARTEMIS-1176] Turn management reply messages into text messages

Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/7e47dc3e
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/7e47dc3e
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/7e47dc3e

Branch: refs/heads/master
Commit: 7e47dc3e07328b46804d4c58f320bc14bf8e84c0
Parents: f84d9f8
Author: Guillaume Nodet <gn...@apache.org>
Authored: Fri May 19 10:00:32 2017 +0200
Committer: Clebert Suconic <cl...@apache.org>
Committed: Tue May 23 09:39:09 2017 -0400

----------------------------------------------------------------------
 .../artemis/core/server/management/impl/ManagementServiceImpl.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/7e47dc3e/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/management/impl/ManagementServiceImpl.java
----------------------------------------------------------------------
diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/management/impl/ManagementServiceImpl.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/management/impl/ManagementServiceImpl.java
index 54be380..bb9fdb3 100644
--- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/management/impl/ManagementServiceImpl.java
+++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/management/impl/ManagementServiceImpl.java
@@ -370,6 +370,7 @@ public class ManagementServiceImpl implements ManagementService {
       message = message.toCore();
       // a reply message is sent with the result stored in the message body.
       CoreMessage reply = new CoreMessage(storageManager.generateID(), 512);
+      reply.setType(Message.TEXT_TYPE);
       reply.setReplyTo(message.getReplyTo());
 
       String resourceName = message.getStringProperty(ManagementHelper.HDR_RESOURCE_NAME);