Hi, Yes. It will change the timeout of the particular API.
On Fri, Jun 26, 2015 at 10:34 AM, Hasanthi Purnima Dissanayake < hasan...@wso2.com> wrote: > Hi Chamali, > Thanks for the response. What I'm currently doing is adding different > timeouts for different APIs in the source view of the UI as below. > > <api name="admin--Emailverification" > context="/phoneverify" > version="1.0.0" > version-type="url"> > .................... > <send> > <endpoint > name="admin--Emailverification_APIproductionEndpoint_0"> > <http uri-template=" > http://ws.cdyne.com/emailverify/emailverify.asmx"/> > <timeout> > <duration>30000</duration> > <responseAction>fault</responseAction> > </timeout> > </endpoint> > </send> > ..................... > Expecting this will change the timeouts of different APIs from the default. > Thanks, > > Hasanthi Dissanayake > > Software Engineer | WSO2 > > E: hasan...@wso2.com <nirosh...@wso2.com> > M :0718407133| http://wso2.com <http://wso2.com/> > > On Fri, Jun 26, 2015 at 10:25 AM, Chamalee De Silva <chama...@wso2.com> > wrote: > >> Hi Hasanthi, >> >> You can change the synapse configuration of all APIs that are created as >> you want according to [1]. >> Then it affects to the default values of the APIs created in the future >> too. >> >> If you want to change the endpoint timeouts of already published APIs you >> can change the synapse config of each API in >> <API-HOME>/repository/deployment/server/synapse-configs/default/api >> directory and you can define an response action according to the changed >> timeout. >> >> Please refer [2] for more information. >> >> [1]https://docs.wso2.com/display/AM160/Editing+API+Templates >> [2] >> https://docs.wso2.com/display/AM190/Tuning+Performance#TuningPerformance-APIM-levelsettings >> >> >> On Fri, Jun 26, 2015 at 8:56 AM, Hasanthi Purnima Dissanayake < >> hasan...@wso2.com> wrote: >> >>> Hi All, >>> By editing the templates according to [1] we can change the timeout of >>> default APIs. I think this will change the default time out of all APIs >>> that will publish in future too. Please correct me if I'm wrong. Is there a >>> way to change the timeout of already published APIs only without affecting >>> to the future publishing APIs. >>> >>> [1]https://docs.wso2.com/display/AM160/Editing+API+Templates >>> >>> Thanks and Regards, >>> >>> Hasanthi Dissanayake >>> >>> Software Engineer | WSO2 >>> >>> E: hasan...@wso2.com <nirosh...@wso2.com> >>> M :0718407133| http://wso2.com <http://wso2.com/> >>> >>> _______________________________________________ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Thanks & Regards, >> >> *Chamalee De Silva* >> Software Engineer >> *WS**O2* Inc. .:http://wso2.com >> lean *.* enterprise *.* middleware >> >> Office :- *+94 11 2145345 <%2B94%2011%202145345>* >> mobile :- *+94 7 <%2B94%2077%202782039>1 4315942* >> > > -- Thanks & Regards, *Chamalee De Silva* Software Engineer *WS**O2* Inc. .:http://wso2.com lean *.* enterprise *.* middleware Office :- *+94 11 2145345 <%2B94%2011%202145345>* mobile :- *+94 7 <%2B94%2077%202782039>1 4315942*
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev