Hi. I am testing the behaviour of failover endpoints with paramter
suspendDurationOnFailure. I set it to 60 seconds.
When I shutdown the primary server, it effectively calls the service failover.
Then when I start it up again, and after 60 seconds, esb is not calling it back
anymore.
Is there anything I may be missing ? The endpoint is one of the axis2 service
samples, nothing special. Here is the section of synapse:
declared endpoints:
<syn:endpoint name="service1">
<syn:address format="soap12" uri="
http://localhost:8080/axis2/services/SWASampleService" optimize="swa"/>
<syn:suspendDurationOnFailure>20</syn:suspendDurationOnFailure>
</syn:endpoint>
<syn:endpoint name="service2">
<syn:address format="soap12" uri="
http://localhost:8081/axis2/services/SWASampleService" optimize="swa"/>
<syn:suspendDurationOnFailure>20</syn:suspendDurationOnFailure>
</syn:endpoint>
<syn:endpoint name="service_failover">
<syn:address format="soap12" uri="
http://localhost:8082/axis2/services/SWASampleService" optimize="swa"/>
<syn:suspendDurationOnFailure>20</syn:suspendDurationOnFailure>
</syn:endpoint>
load balancing with failover:
<syn:send>
<syn:endpoint>
<syn:loadbalance>
<syn:endpoint>
<syn:failover>
<syn:endpoint key="service1"/>
<syn:endpoint key="service_failover"/>
</syn:failover>
</syn:endpoint>
<syn:endpoint>
<syn:failover>
<syn:endpoint key="service2"/>
<syn:endpoint key="service_failover"/>
</syn:failover>
</syn:endpoint>
</syn:loadbalance>
</syn:endpoint>
</syn:send>
_______________________________________________
Esb-java-user mailing list
[email protected]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user