Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9D776200CA4 for ; Tue, 23 May 2017 15:39:25 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9A76C160BB6; Tue, 23 May 2017 13:39:25 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E54BE160BC3 for ; Tue, 23 May 2017 15:39:24 +0200 (CEST) Received: (qmail 96607 invoked by uid 500); 23 May 2017 13:39:24 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 96514 invoked by uid 99); 23 May 2017 13:39:24 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 May 2017 13:39:24 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id F1E02DFFB5; Tue, 23 May 2017 13:39:23 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: clebertsuconic@apache.org To: commits@activemq.apache.org Date: Tue, 23 May 2017 13:39:24 -0000 Message-Id: <9dd2a5409f4c444381d86bb791b1be7c@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [2/2] activemq-artemis git commit: [ARTEMIS-1176] Turn management reply messages into text messages archived-at: Tue, 23 May 2017 13:39:25 -0000 [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 Authored: Fri May 19 10:00:32 2017 +0200 Committer: Clebert Suconic 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);