Return-Path: Delivered-To: apmail-xml-axis-dev-archive@xml.apache.org Received: (qmail 91025 invoked by uid 500); 3 Oct 2002 10:29:01 -0000 Mailing-List: contact axis-dev-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@xml.apache.org Received: (qmail 91016 invoked from network); 3 Oct 2002 10:28:59 -0000 Importance: Normal Sensitivity: Subject: [WSIF] Overriding the default timeout values on a wsif operation request To: axis-dev@xml.apache.org X-Mailer: Lotus Notes Release 5.0.5 September 22, 2000 Message-ID: From: "Anthony Elder" Date: Thu, 3 Oct 2002 07:53:16 +0100 X-MIMETrack: Serialize by Router on D06ML038/06/M/IBM(Release 5.0.9a |January 7, 2002) at 03/10/2002 07:53:16 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N A number of people have asked if its possible to override the default timeout values used for the excuteRequestResponse and executeRequestResponseAsync calls of the JMS providers. Currently you can't, WSIF has global default values in the wsif.properties for wsif.sync.timeout and wsif.async.timeout and there's no way of changing these for individual requests. I'd like to propose a change to allow overriding the timeouts by using the context message or JMS property extensions in WSDL. There's already WSFConstants defined for the property names - WSIFConstants.WSIF_PROP_SYNC_TIMEOUT and WSIFConstants.WSIF_PROP_ASYNC_TIMEOUT, so I'd like to change the providers to set the timeout as follows: if the context message has a part with the name of the WSIFConstants timeout string then use that value for the timeout, otherwise if the WSDL has a jms:propertyValue or jms:property tag defined with the name of the WSIFConstants timeout string then use that value for the timeout, otherwise get the default timeout from wsif.properties as it does now. ...ant Anthony Elder ant.elder@uk.ibm.com Web Services Development IBM UK Laboratories, Hursley Park (+44) 01962 818320, x248320, MP208.