Added the correlationId, expiration, priority, and sequence number to MessageHeader's toString().

This commit is contained in:
Mark Fisher
2008-04-11 19:21:01 +00:00
parent 88ac6af364
commit 1835a9e0ed

View File

@@ -150,8 +150,9 @@ public class MessageHeader implements Serializable {
}
public String toString() {
return "[Properties=" + this.properties + "][Attributes=" + this.attributes +
"][Timestamp=" + this.timestamp + "]";
return "[CorrelationID=" + this.correlationId + "][Properties=" + this.properties + "][Attributes=" + this.attributes +
"][Timestamp=" + this.timestamp + "][Expiration=" + this.expiration + "][Priority=" + this.priority +
"][Sequence #" + this.sequenceNumber + " (of " + this.sequenceSize + ")]";
}
}