[
https://issues.apache.org/jira/browse/SYNAPSE-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chathura Ekanayake resolved SYNAPSE-89.
---------------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.1)
1.0-RC2-B2
Assignee: Chathura Ekanayake
There is a feature in address and wsdl endpoints to specify the time to suspend
after a failure. It can be specified in the <suspendDurationOnFailure> element
inside <address> and <wsdl> tags of those endpoints. After an endpoint is
detected as failed, load balance and failover endpoints will not consider it as
an active endpoint for the time duration specified in above tags. Once that
time has elapsed, successive requests will be directed to it as if it has not
failed. If it is still failing, it will be marked inactive again for the
specified time duration.
I have documented this in the Synapse configuration language documentation.
> Failover never retries failed endpoints
> ---------------------------------------
>
> Key: SYNAPSE-89
> URL: https://issues.apache.org/jira/browse/SYNAPSE-89
> Project: Synapse
> Issue Type: Improvement
> Affects Versions: 1.0
> Reporter: Paul Fremantle
> Assigned To: Chathura Ekanayake
> Fix For: 1.0-RC2-B2
>
>
> Failover does not ever retry failed endpoints.
> This can lead to problems in real-life scenarios. For example, imagine there
> is a 5 second network outage. Synapse fails all endpoints, and never retries
> them, so I need to reboot Synapse to get my endpoints back online.
> The failover endpoint should have a retry timeout for failed endpoints. After
> that time it should retry them. Even better would be an exponential backoff
> on retries. So for example, after 1 minute it retries. If that fails it waits
> 2, then 4, then 8, etc.
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]