Author: richard.opalka(a)jboss.com
Date: 2009-02-03 03:24:19 -0500 (Tue, 03 Feb 2009)
New Revision: 9206
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/client/SOAPProtocolConnectionJMS.java
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/samples/jmstransport/JMSTransportTestCase.java
Log:
[JBWS-2433] increase timeout from 5s to 30s
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/client/SOAPProtocolConnectionJMS.java
===================================================================
---
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/client/SOAPProtocolConnectionJMS.java 2009-02-03
06:43:38 UTC (rev 9205)
+++
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/client/SOAPProtocolConnectionJMS.java 2009-02-03
08:24:19 UTC (rev 9206)
@@ -135,7 +135,7 @@
MessageAbstraction resMessage = null;
if (responseListener != null)
{
- int timeout = 5000;
+ int timeout = 30000;
while (waitForResponse && timeout > 0)
{
Thread.sleep(100);
Modified:
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/samples/jmstransport/JMSTransportTestCase.java
===================================================================
---
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/samples/jmstransport/JMSTransportTestCase.java 2009-02-03
06:43:38 UTC (rev 9205)
+++
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/samples/jmstransport/JMSTransportTestCase.java 2009-02-03
08:24:19 UTC (rev 9206)
@@ -123,12 +123,12 @@
message.setJMSReplyTo(resQueue);
waitForResponse = true;
-
+
QueueSender sender = session.createSender(reqQueue);
sender.send(message);
sender.close();
- int timeout = 5000;
+ int timeout = 30000;
while (waitForResponse && timeout > 0)
{
Thread.sleep(100);
Show replies by date