Reputation: 167
How to keep the end point state active permanently irrespective of the end point is up or down.
Upvotes: 1
Views: 614
Reputation: 1401
If a timeout occurs that endpoint will be suspended to 30000ms(defualt).So in the suspension time if any request to that endpoint comes, esb will ignore that request.So by disabling the endpoint suspension will keep the endoint state as active always.
check this post[1] on how to disable the suspension time.
Upvotes: 1
Reputation: 1467
Set the following advance endpoint options
Here is a sample endpoint configuration
<endpoint xmlns="http://ws.apache.org/ns/synapse" name="SampleEndpoint">
<address uri="http://sample.com/services">
<suspendOnFailure>
<errorCodes>-1</errorCodes>
<progressionFactor>1.0</progressionFactor>
</suspendOnFailure>
<markForSuspension>
<errorCodes>-1</errorCodes>
<retriesBeforeSuspension>0</retriesBeforeSuspension>
<retryDelay>0</retryDelay>
</markForSuspension>
</address>
</endpoint>
Upvotes: 0