You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Vanjikumaran Sivajothy (JIRA)" <ji...@apache.org> on 2016/05/23 20:31:13 UTC

[jira] [Updated] (SYNAPSE-1017) Extend the endpoint configuration to configure retry codes.

     [ https://issues.apache.org/jira/browse/SYNAPSE-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vanjikumaran Sivajothy updated SYNAPSE-1017:
--------------------------------------------
    Description: 
As of now, synapse only allows to disable the retry. However in enterprise need. There is a requirement to allow the retry of only certain error codes.

This improvement will allow the user to  to specify the error code in Synapse config and retry for given set of code.

{code}
<endpoint xmlns="http://ws.apache.org/ns/synapse" name="SampleRetryConfig">
<address uri="...">
<retryConfig>
<enableErrorCodes>101504</enableErrorCodes>
</retryConfig>
<timeout>
<duration>10000</duration>
<responseAction>discard</responseAction>
</timeout>
</address>
</endpoint>
{code}

  was:
As of now, synapse only allows to disable the retry. However in enterprise need. There is a requirement to allow the retry of only certain error codes.

This improvement will allow the user to  to specify the error code in Synapse config and retry for given set of code.


> Extend the endpoint configuration to configure retry codes.
> -----------------------------------------------------------
>
>                 Key: SYNAPSE-1017
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-1017
>             Project: Synapse
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Vanjikumaran Sivajothy
>            Assignee: Hiranya Jayathilaka
>
> As of now, synapse only allows to disable the retry. However in enterprise need. There is a requirement to allow the retry of only certain error codes.
> This improvement will allow the user to  to specify the error code in Synapse config and retry for given set of code.
> {code}
> <endpoint xmlns="http://ws.apache.org/ns/synapse" name="SampleRetryConfig">
> <address uri="...">
> <retryConfig>
> <enableErrorCodes>101504</enableErrorCodes>
> </retryConfig>
> <timeout>
> <duration>10000</duration>
> <responseAction>discard</responseAction>
> </timeout>
> </address>
> </endpoint>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org