[
https://issues.apache.org/jira/browse/SYNAPSE-820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Charith Dhanushka Wickramarachchi resolved SYNAPSE-820.
-------------------------------------------------------
Resolution: Fixed
Fix Version/s: NIGHTLY
Fixed in r1210821
> Failover Endpoint does not work properly when using a single endpoint.
> -----------------------------------------------------------------------
>
> Key: SYNAPSE-820
> URL: https://issues.apache.org/jira/browse/SYNAPSE-820
> Project: Synapse
> Issue Type: Bug
> Environment: any
> Reporter: Charith Dhanushka Wickramarachchi
> Assignee: Charith Dhanushka Wickramarachchi
> Priority: Critical
> Fix For: NIGHTLY
>
>
> When we configure a FailOver endpoint with one leaf endpoint.And Configure it
> to Re-try few times before suspension. In a failure case message must re-try
> the configured number of times before it get suspended.See the following
> configuration.
> <failover>
> <endpoint>
> <address
> uri="http://127.0.0.1:9001/service/Test">
> <timeout>
> <duration>1000</duration>
> <responseAction>discard</responseAction>
> </timeout>
> <suspendOnFailure>
> <initialDuration>1000</initialDuration>
>
> <progressionFactor>2.0</progressionFactor>
> <maximumDuration>64000</maximumDuration>
> </suspendOnFailure>
> <markForSuspension>
>
> <errorCodes>101000,101001,101500,101501,101503,101504,101505,101506,101507,101508,101509</errorCodes>
>
>
> <retriesBeforeSuspension>1000000</retriesBeforeSuspension>
> <retryDelay>1</retryDelay>
> </markForSuspension>
> </address>
> </endpoint>
> </failover>
> But it does not try. Instead it fails saying no ready child endpoints
> {org.apache.synapse.endpoints.FailoverEndpoint}
> And also retry counter is decremented two by two
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]