You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by st...@apache.org on 2003/10/05 09:09:50 UTC
cvs commit: ws-axis/java/src/org/apache/axis MessageContext.java
stevel 2003/10/05 00:09:50
Modified: java/src/org/apache/axis MessageContext.java
Log:
I hadnt planned to commit this yet, but since I accidentally just included the constants patch, I might as well go with the use of one of the constants I just added. This patch (a) sets the timeout from the consts file and (b) extends the default timeout to ten minutes. Also to come, once I have written a test, is the ability to set the timeout on a call from a property, thus letting people coding against JAX_RPC to do it.
Revision Changes Path
1.136 +1 -1 ws-axis/java/src/org/apache/axis/MessageContext.java
Index: MessageContext.java
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/MessageContext.java,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -r1.135 -r1.136
--- MessageContext.java 27 Jun 2003 17:16:25 -0000 1.135
+++ MessageContext.java 5 Oct 2003 07:09:50 -0000 1.136
@@ -166,7 +166,7 @@
/**
* Maximum amount of time to wait on a request, in milliseconds.
*/
- private int timeout = 60 * 1000; // 60 seconds
+ private int timeout = Constants.DEFAULT_MESSAGE_TIMEOUT;
/**
* An indication of whether we require "high fidelity" recording of