Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 11244 invoked from network); 5 Oct 2003 07:09:55 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 Oct 2003 07:09:55 -0000 Received: (qmail 1608 invoked by uid 500); 5 Oct 2003 07:09:28 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 1582 invoked by uid 500); 5 Oct 2003 07:09:28 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 1571 invoked by uid 500); 5 Oct 2003 07:09:28 -0000 Delivered-To: apmail-ws-axis-cvs@apache.org Date: 5 Oct 2003 07:09:50 -0000 Message-ID: <20031005070950.11215.qmail@minotaur.apache.org> From: stevel@apache.org To: ws-axis-cvs@apache.org Subject: cvs commit: ws-axis/java/src/org/apache/axis MessageContext.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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