I’m finally in the process of upgrading our old Camel 2.x stack. WireTapDefinition.newExchange(Processor processor)
was removed in 3.16 and I haven’t found any examples of how to replace it. What should I replace it with in this instance?
exceptionErrorHandlers.forEach {
onException(it.exceptionToHandle)
.process(MyErrorProcessor())
.wireTap(someUri)
.newExchange(MyProcessor())
.end()
.handled(true)
.bean(failedCounter, "inc()")
}
(StatusMessage
is a Processor
)