Hello,

We want to load balance requests through Synapse but after shutting down 1
of the 3 endpoints, no more requests are recieved by our endpoints for about
60 seconds.

Is this configurable or a symptom of a bad configuration?

Here is the config:

<definitions xmlns="http://ws.apache.org/ns/synapse";>

    <sequence name="main" onError="errorHandler">
        <in>
            <send>
                <endpoint>
                    <loadbalance failover="false">
                        <endpoint>
                            <address
uri="http://localhost:7010/wsProvider/webservice/wsProvider";>
                               
<suspendDurationOnFailure>30</suspendDurationOnFailure>
                                <timeout>
                                        <duration>3</duration>
                                        <action>fault</action>
                                </timeout>
                            </address>
                        </endpoint>
                                                <endpoint>
                            <address
uri="http://localhost:7015/wsProvider/webservice/wsProvider";>
                               
<suspendDurationOnFailure>30</suspendDurationOnFailure>
                                <timeout>
                                        <duration>3</duration>
                                        <action>fault</action>
                                </timeout>
                            </address>
                        </endpoint>
                        <endpoint>
                            <address
uri="http://localhost:7020/wsProvider/webservice/wsProvider";>
                               
<suspendDurationOnFailure>30</suspendDurationOnFailure>
                                <timeout>
                                        <duration>3</duration>
                                        <action>fault</action>
                                </timeout>
                            </address>
                        </endpoint>
                    </loadbalance>
                </endpoint>
            </send>
        </in>

        <out>
            <send/>
        </out>
    </sequence>

    <sequence name="errorHandler">

        <makefault>
            <code value="tns:Receiver"
xmlns:tns="http://www.w3.org/2003/05/soap-envelope"/>
            <reason value="COULDN'T SEND THE MESSAGE TO THE SERVER."/>
        </makefault>

        <header name="To" action="remove"/>
        <property name="RESPONSE" value="true"/>

        <send/>
    </sequence>

</definitions>


Thanks for the help



-- 
View this message in context: 
http://www.nabble.com/Load-Balancing%3A-Clients-wait-60-seconds-after-1-of-3-endpoints-shut-down-tf4431948.html#a12643882
Sent from the Synapse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to