You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Supun Kamburugamuva (JIRA)" <ji...@apache.org> on 2010/06/23 08:48:49 UTC

[jira] Commented: (SYNAPSE-665) Need to make the fail-over behavior configurable for errors occurring

    [ https://issues.apache.org/jira/browse/SYNAPSE-665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881576#action_12881576 ] 

Supun Kamburugamuva commented on SYNAPSE-665:
---------------------------------------------

Adding the following configuration to Endpoints

<retryConfig>
 <disabledErrorCodes>comma separated error list</disabledErrorCodes>
</retryConfig>

If an error occurred in the endpoint and if that error is in the
disabledErrorCodes list, fail-over will not happen.

Here is a sample configuration.

<address uri="http://localhost:9001/services/SimpleStockQuoteService">
   <retryConfig>
       <disabledErrorCodes>101505</disabledErrorCodes>
   </retryConfig>
</address>

If the above configuraion is not defined, by default fail-over will
not happen for 101504 and 101505 which are error codes for Timeout and
Connection Close.

> Need to make the fail-over behavior configurable for errors occurring 
> ----------------------------------------------------------------------
>
>                 Key: SYNAPSE-665
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-665
>             Project: Synapse
>          Issue Type: Improvement
>            Reporter: Supun Kamburugamuva
>            Assignee: Supun Kamburugamuva
>
> For some endpoint errors like time outs or connection close it may be a bad idea to do fail-over in every case. We need to make this behavior configurable so that fail-over will happen only for certain errors.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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