Author: clebert.suconic(a)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