Author: clebert.suconic(a)jboss.com
Date: 2011-11-18 15:39:36 -0500 (Fri, 18 Nov 2011)
New Revision: 11717
Modified:
branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/ServerMessageImpl.java
Log:
https://issues.jboss.org/browse/HORNETQ-798 - avoiding synchronization on Queue while
doing IO on paging
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-11-18
20:05:39 UTC (rev 11716)
+++
branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/ServerMessageImpl.java 2011-11-18
20:39:36 UTC (rev 11717)
@@ -283,7 +283,7 @@
@Override
public String toString()
{
- return "ServerMessage[messageID=" + messageID + ",priority=" +
this.getPriority() +
+ return "ServerMessage[messageID=" + messageID + ",priority=" +
this.getPriority() + ", bodySize=" + this.getBodyBuffer().capacity() +
",expiration=" + (this.getExpiration() != 0 ? new
java.util.Date(this.getExpiration()) : 0) +
", durable=" + durable + ", address=" + getAddress() +
",properties=" + properties.toString() + "]@" +
System.identityHashCode(this);
}