camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manav Kher <icech...@gmail.com>
Subject Call a route on Delivery failure
Date Wed, 02 Jul 2014 22:19:28 GMT
I have configured a RedeiveryPolicy on the error handler. Is there a way I
can call the WireTap processor once all delivery attempts have been made
the message is about to be sent to the DLC?

from("vm:sentToDestination")
                .errorHandler(deadLetterChannel("{{dlc.queue}}")
                        .retriesExhaustedLogLevel(LoggingLevel.DEBUG)
                        .logRetryStackTrace(false).asyncDelayedRedelivery()
                        .maximumRedeliveries(retryMaxCount)
                        .redeliveryDelay(retryDelay))

               .to("http://someURL")


-- 
-M Kher

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message