[jboss-cvs] JBoss Messaging SVN: r2154 - trunk/tests/src/org/jboss/test/messaging/tools/aop.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Feb 2 17:53:25 EST 2007
Author: clebert.suconic at jboss.com
Date: 2007-02-02 17:53:25 -0500 (Fri, 02 Feb 2007)
New Revision: 2154
Modified:
trunk/tests/src/org/jboss/test/messaging/tools/aop/PoisonInterceptor.java
Log:
just adding some logging
Modified: trunk/tests/src/org/jboss/test/messaging/tools/aop/PoisonInterceptor.java
===================================================================
--- trunk/tests/src/org/jboss/test/messaging/tools/aop/PoisonInterceptor.java 2007-02-02 22:51:32 UTC (rev 2153)
+++ trunk/tests/src/org/jboss/test/messaging/tools/aop/PoisonInterceptor.java 2007-02-02 22:53:25 UTC (rev 2154)
@@ -94,12 +94,18 @@
&& type == FAIL_AFTER_ACKNOWLEDGE_DELIVERY)
{
invocation.invokeNext();
+
+ log.info("##### Crashing after acknowledgeDelivery call!!!");
+
// simulating failure right after invocation (before message is transmitted to client)
crash(invocation.getTargetObject());
}
else if (target instanceof SessionAdvised && "acknowledgeDelivery".equals(methodName)
&& type == FAIL_BEFORE_ACKNOWLEDGE_DELIVERY)
{
+
+ log.info("##### Crashing before acknowledgeDelivery call!!!");
+
crash(invocation.getTargetObject());
}
More information about the jboss-cvs-commits
mailing list