[jboss-cvs] JBossAS SVN: r61807 - branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/consumer.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Mar 28 14:59:46 EDT 2007


Author: bdecoste
Date: 2007-03-28 14:59:46 -0400 (Wed, 28 Mar 2007)
New Revision: 61807

Modified:
   branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/consumer/DeploymentDescriptorQueueTestConsumer.java
Log:
moved testInjections() in method1(...) so mutliple instances/threads register their order correctly

Modified: branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/consumer/DeploymentDescriptorQueueTestConsumer.java
===================================================================
--- branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/consumer/DeploymentDescriptorQueueTestConsumer.java	2007-03-28 18:17:06 UTC (rev 61806)
+++ branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/consumer/DeploymentDescriptorQueueTestConsumer.java	2007-03-28 18:59:46 UTC (rev 61807)
@@ -75,13 +75,13 @@
    
    public void method1(String msg, int num) throws Exception
    {
-      testInjections();
-      
       TestStatusBean.queueRan = "method1";
       TestStatusBean.fieldMessage = currentMessage != null;
       TestStatusBean.setterMessage = setterMessage != null;
 
       System.out.println("method1(" + msg + ", " + num + ")");
+      
+      testInjections();
    }
 
    public void method2(String msg, float num)
@@ -92,6 +92,7 @@
       TestStatusBean.setterMessage = setterMessage != null;
 
       System.out.println("method2(" + msg + ", " + num + ")");
+   //   new Exception().printStackTrace();
    }
 
    @AroundInvoke




More information about the jboss-cvs-commits mailing list