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

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Feb 13 11:50:25 EST 2007


Author: wolfc
Date: 2007-02-13 11:50:25 -0500 (Tue, 13 Feb 2007)
New Revision: 60511

Modified:
   branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/mdb/TransactionQueueTestMDB.java
Log:
Using transactionTimeout activation config property

Modified: branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/mdb/TransactionQueueTestMDB.java
===================================================================
--- branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/mdb/TransactionQueueTestMDB.java	2007-02-13 16:29:49 UTC (rev 60510)
+++ branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/mdb/TransactionQueueTestMDB.java	2007-02-13 16:50:25 UTC (rev 60511)
@@ -46,9 +46,11 @@
         @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"),
         @ActivationConfigProperty(propertyName="destination", propertyValue="queue/transactionmdbtest"),
         @ActivationConfigProperty(propertyName="maxSession", propertyValue="1"),
-        @ActivationConfigProperty(propertyName="dLQMaxResent", propertyValue="3")
+        @ActivationConfigProperty(propertyName="dLQMaxResent", propertyValue="3"),
+        @ActivationConfigProperty(propertyName="transactionTimeout", propertyValue="1")
         })
- at TransactionTimeout(1)
+// Wolf: this is NOT supported, use the proper activation config property
+//@TransactionTimeout(1)
 @TransactionAttribute(TransactionAttributeType.REQUIRED)
 public class TransactionQueueTestMDB implements MessageListener
 {




More information about the jboss-cvs-commits mailing list