[jboss-cvs] JBoss Messaging SVN: r3047 - in trunk/src/main/org/jboss/jms: message and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Aug 23 15:02:05 EDT 2007


Author: clebert.suconic at jboss.com
Date: 2007-08-23 15:02:05 -0400 (Thu, 23 Aug 2007)
New Revision: 3047

Modified:
   trunk/src/main/org/jboss/jms/delegate/DefaultCancel.java
   trunk/src/main/org/jboss/jms/message/MessageProxy.java
Log:
just adding some logging

Modified: trunk/src/main/org/jboss/jms/delegate/DefaultCancel.java
===================================================================
--- trunk/src/main/org/jboss/jms/delegate/DefaultCancel.java	2007-08-23 18:44:10 UTC (rev 3046)
+++ trunk/src/main/org/jboss/jms/delegate/DefaultCancel.java	2007-08-23 19:02:05 UTC (rev 3047)
@@ -93,6 +93,14 @@
       return reachedMaxDeliveryAttempts;
    }
 
+   public String toString()
+   {
+      return "DefaultCancel(deliveryId=" + deliveryId +
+             ", deliveryCount=" + deliveryCount +
+             ", expired=" + expired +
+             ", reachedMaxDeliveryAttempts=" + reachedMaxDeliveryAttempts + ")";
+   }
+
    // Class YYY overrides -------------------------------------------
 
    // Protected -----------------------------------------------------

Modified: trunk/src/main/org/jboss/jms/message/MessageProxy.java
===================================================================
--- trunk/src/main/org/jboss/jms/message/MessageProxy.java	2007-08-23 18:44:10 UTC (rev 3046)
+++ trunk/src/main/org/jboss/jms/message/MessageProxy.java	2007-08-23 19:02:05 UTC (rev 3047)
@@ -466,7 +466,7 @@
 
    public String toString()
    {
-      return "delegator->" + message;
+      return "delegator->" + message + ", deliveryId=" + deliveryId;
    }
 
    // Package protected ---------------------------------------------




More information about the jboss-cvs-commits mailing list