You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Arockia Raphael (JIRA)" <ji...@apache.org> on 2014/07/23 14:24:38 UTC
[jira] [Updated] (SYNAPSE-990) Endpoint Address Timeout per
method/function level
[ https://issues.apache.org/jira/browse/SYNAPSE-990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arockia Raphael updated SYNAPSE-990:
------------------------------------
Component/s: Endpoints
Description:
Currently, Timeout duration is specified at end point level. The mentioned timeout is applicable for any method call belongs to that service. We are having a situation where some of the service methods respond within 3 seconds and some other with more data will take 30 seconds. However, we do not like the approach of our quick methods waiting for 30 seconds in case of error/failure situations. There may be work around but would like to enquire any easiest way to implement this functionality.
<send>
<endpoint>
<address uri="http://localhost:9080/SimpleStockQuoteService/services/SimpleStockQuoteService">
<timeout>
<duration>3000</duration>
<responseAction>fault</responseAction>
</timeout>
Priority: Minor (was: Major)
Affects Version/s: 2.1
Summary: Endpoint Address Timeout per method/function level (was: Address Timeout per method/function level)
> Endpoint Address Timeout per method/function level
> --------------------------------------------------
>
> Key: SYNAPSE-990
> URL: https://issues.apache.org/jira/browse/SYNAPSE-990
> Project: Synapse
> Issue Type: Improvement
> Components: Endpoints
> Affects Versions: 2.1
> Reporter: Arockia Raphael
> Assignee: Hiranya Jayathilaka
> Priority: Minor
>
> Currently, Timeout duration is specified at end point level. The mentioned timeout is applicable for any method call belongs to that service. We are having a situation where some of the service methods respond within 3 seconds and some other with more data will take 30 seconds. However, we do not like the approach of our quick methods waiting for 30 seconds in case of error/failure situations. There may be work around but would like to enquire any easiest way to implement this functionality.
> <send>
> <endpoint>
> <address uri="http://localhost:9080/SimpleStockQuoteService/services/SimpleStockQuoteService">
> <timeout>
> <duration>3000</duration>
> <responseAction>fault</responseAction>
> </timeout>
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org