Author: clebert.suconic(a)jboss.com
Date: 2011-06-01 14:26:38 -0400 (Wed, 01 Jun 2011)
New Revision: 10761
Modified:
branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/ServerMessageImpl.java
Log:
Adding useful debug for printPages and PrintData
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-01
17:33:20 UTC (rev 10760)
+++
branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/ServerMessageImpl.java 2011-06-01
18:26:38 UTC (rev 10761)
@@ -273,7 +273,8 @@
@Override
public String toString()
{
- return "ServerMessage[messageID=" + messageID + ", durable=" +
durable + ", address=" + getAddress() + ",properties=" +
properties.toString() + "]";
+ return "ServerMessage[messageID=" + messageID + ",priority=" +
this.getPriority() +
+ ",expiration" + this.getExpiration() + ", durable=" +
durable + ", address=" + getAddress() + ",properties=" +
properties.toString() + "]";
}
// FIXME - this is stuff that is only used in large messages