Endpoint becomes indirect and do not switch on after suspendDurationOnFailure expires.
WARN : IndirectEndpoint - Endpoint : esb-event-dead-letter is currently inactive - invoking fault handler / assuming failure
I've set suspendDurationOnFailure to 60 so that after 1 min it should give me an error, something like unable to sent because of bla bla, instead it never becomes online again
Any ideas?
Cheers
<syn:endpoint name="esb-event-retry" xmlns:syn="
http://ws.apache.org/ns/synapse">
<syn:address
uri="jms:/esb_event_retry?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.provider.url=tcp://localhost:61616&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&java.naming.security.principal=esb&java.naming.security.credentials=xxxxxxxxxxx">
<syn:timeout>
<syn:duration>15</syn:duration>
<syn:action>fault</syn:action>
</syn:timeout>
<syn:suspendDurationOnFailure>60</syn:suspendDurationOnFailure>
</syn:address>
</syn:endpoint>