[hornetq-commits] JBoss hornetq SVN: r10766 - branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Jun 2 12:33:22 EDT 2011


Author: clebert.suconic at jboss.com
Date: 2011-06-02 12:33:20 -0400 (Thu, 02 Jun 2011)
New Revision: 10766

Modified:
   branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/ServerMessageImpl.java
Log:
just committing useful debug

Modified: branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/ServerMessageImpl.java
===================================================================
--- branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/ServerMessageImpl.java	2011-06-02 15:09:29 UTC (rev 10765)
+++ branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/ServerMessageImpl.java	2011-06-02 16:33:20 UTC (rev 10766)
@@ -274,7 +274,8 @@
    public String toString()
    {
       return "ServerMessage[messageID=" + messageID + ",priority=" + this.getPriority() + 
-          ",expiration=" + this.getExpiration() + ", durable=" + durable + ", address=" + getAddress()  + ",properties=" + properties.toString() + "]";
+          ",expiration=" + (this.getExpiration() != 0 ? new java.util.Date(this.getExpiration()) : 0) + 
+          ", durable=" + durable + ", address=" + getAddress()  + ",properties=" + properties.toString() + "]";
    }
 
    // FIXME - this is stuff that is only used in large messages



More information about the hornetq-commits mailing list