Timeout setting

joed's picture
Hi there, I was wondering if there is an directly accessible option for a mashup request timeout setting within a .js, as if a complex process is underway it can sometimes end in an an error if the process take longer than required, 1+ minute. No option seems available in the conf. http://wso2.org/forum/thread/4415 suggests maybe a while with a wait but will this cross over a general axis setting if it beyond a certain time. Thanks Joed
ruchira's picture

Asynchronous call with WSRequest

Hi Joed, I think an asynchronous call using WSRequest Hostobject will help you. You can view an example at http://wso2.org/project/mashup/2.0.1/docs/wsrequesthostobject.html (Read the example under "Calling Services in a asynchronous manner"). Thanks & Regards, Ruchira
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)