[jboss-cvs] JBossAS SVN: r60712 - branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/strictpool/unit.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Feb 20 09:55:43 EST 2007


Author: wolfc
Date: 2007-02-20 09:55:43 -0500 (Tue, 20 Feb 2007)
New Revision: 60712

Modified:
   branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/strictpool/unit/StrictPoolUnitTestCase.java
Log:
Fixed strictpool

Modified: branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/strictpool/unit/StrictPoolUnitTestCase.java
===================================================================
--- branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/strictpool/unit/StrictPoolUnitTestCase.java	2007-02-20 14:18:19 UTC (rev 60711)
+++ branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/strictpool/unit/StrictPoolUnitTestCase.java	2007-02-20 14:55:43 UTC (rev 60712)
@@ -120,11 +120,11 @@
       conn.start();
       MessageProducer sender = session.createProducer(queueC);
       TextMessage msg = session.createTextMessage("hello world");
-      msg.setIntProperty("JMS_JBOSS_REDELIVERY_LIMIT", 20);
+      msg.setIntProperty("JMS_JBOSS_REDELIVERY_LIMIT", 1);
       sender.send(msg);
       // the second message will timeout 
       TextMessage msg2 = session.createTextMessage("hello world 2");
-      msg2.setIntProperty("JMS_JBOSS_REDELIVERY_LIMIT", 20);
+      msg2.setIntProperty("JMS_JBOSS_REDELIVERY_LIMIT", 1);
       sender.send(msg2);
 
       Thread.sleep(5000);




More information about the jboss-cvs-commits mailing list