activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r704544 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/Message.java
Date Tue, 14 Oct 2008 14:05:52 GMT
Author: dejanb
Date: Tue Oct 14 07:05:52 2008
New Revision: 704544

URL: http://svn.apache.org/viewvc?rev=704544&view=rev
Log:
print message properties with with toString()

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/Message.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/Message.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/Message.java?rev=704544&r1=704543&r2=704544&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/Message.java (original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/command/Message.java Tue
Oct 14 07:05:52 2008
@@ -719,4 +719,12 @@
     public boolean isDropped() {
         return false;
     }
+    
+    public String toString() {
+        try {
+            getProperties();
+        } catch (IOException e) {
+        }
+        return super.toString();
+    }    
 }



Mime
View raw message