activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [activemq-artemis] 01/03: ARTEMIS-2887 Adding toString back to AMQPMessage
Date Thu, 27 Aug 2020 14:16:15 GMT
This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git

commit 4d45d0cdd2cf10ed35982b768f4bcf19c4aab35b
Author: Clebert Suconic <clebertsuconic@apache.org>
AuthorDate: Wed Aug 26 17:41:16 2020 -0400

    ARTEMIS-2887 Adding toString back to AMQPMessage
---
 .../apache/activemq/artemis/protocol/amqp/broker/AMQPMessage.java  | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/broker/AMQPMessage.java
b/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/broker/AMQPMessage.java
index c89ba5c..8dc5e6c 100644
--- a/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/broker/AMQPMessage.java
+++ b/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/broker/AMQPMessage.java
@@ -1638,15 +1638,14 @@ public abstract class AMQPMessage extends RefCountMessage implements
org.apache.
 
    @Override
    public String toString() {
-      /* return "AMQPMessage [durable=" + isDurable() +
+      return "AMQPMessage [durable=" + isDurable() +
          ", messageID=" + getMessageID() +
          ", address=" + getAddress() +
          ", size=" + getEncodeSize() +
-         ", applicationProperties=" + applicationProperties +
+         ", applicationProperties=" + getApplicationPropertiesMap(false) +
          ", properties=" + properties +
          ", extraProperties = " + getExtraProperties() +
-         "]"; */
-      return super.toString();
+         "]";
    }
 
    @Override


Mime
View raw message