Hi all, I'd like to make the failover endpoint configuration working not only when one of the servers is shut down but even if one of the endpoints is inactive. As far as I know in these case the failover configuration does not work and a SOAP fault is returned from the server with the inactive or undeployed endpoint. I understood that failover works correctly only if the endpoint goes to suspended state. I'm trying to configure the suspendOnFailure error codes, but I cannot find the code for the case of inactive service. How can I manage this error and after suspend the endpoint?
Another possibile solution, is to manage the response in out sequence and send the request to another endpoint. But in this case I need to store the request message. This solution seems to be very complex and not clean, also in this way I completely loose the possibility to use the load balancing feature togheter with the failover and moreover I have to hardcode the endpoint list and to write logic in order to manage load-balancing. It would be much better if I could use the built-in synapse configuration capability in order to suspend an endpoint that replies with that error (inactive service) and keep on using the built-in failover endpoint configuration. Is it possible to suspend an endpoint from synapse.xml when such a response is received? Thanks. Thanks in advance
