Author: clebert.suconic(a)jboss.com
Date: 2010-09-02 23:40:15 -0400 (Thu, 02 Sep 2010)
New Revision: 9638
Modified:
branches/Branch_2_1/examples/soak/tx-restarts/src/org/hornetq/jms/example/Receiver.java
Log:
tweak
Modified:
branches/Branch_2_1/examples/soak/tx-restarts/src/org/hornetq/jms/example/Receiver.java
===================================================================
---
branches/Branch_2_1/examples/soak/tx-restarts/src/org/hornetq/jms/example/Receiver.java 2010-09-03
03:36:41 UTC (rev 9637)
+++
branches/Branch_2_1/examples/soak/tx-restarts/src/org/hornetq/jms/example/Receiver.java 2010-09-03
03:40:15 UTC (rev 9638)
@@ -153,7 +153,7 @@
sem.release(pendingMsgs2);
try
{
- max.acquire(pendingMsgs2);
+ max.tryAcquire(pendingMsgs2, 5, TimeUnit.SECONDS);
}
catch (InterruptedException e)
{
Show replies by date