<?xml version="1.0" encoding="UTF-8"?>
<endpoint name="DelayHttpEP" xmlns="http://ws.apache.org/ns/synapse">
    <http method="get" uri-template="http://www.mocky.io/v2/5185415ba171ea3a00704eed?mocky-delay=60s">
        <timeout>
            <duration>1000</duration>
            <responseAction>fault</responseAction>
        </timeout>
        <suspendOnFailure>
            <initialDuration>1000</initialDuration>
            <progressionFactor>1.0</progressionFactor>
        </suspendOnFailure>
        <markForSuspension>
            <retriesBeforeSuspension>1</retriesBeforeSuspension>
            <retryDelay>1500</retryDelay>
        </markForSuspension>
    </http>
</endpoint>
