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