use of org.apache.camel.processor.RedeliveryErrorHandler in project camel by apache.
the class ManagedErrorHandler method setLogContinued.
public void setLogContinued(Boolean log) {
if (!isSupportRedelivery()) {
throw new IllegalArgumentException("This error handler does not support redelivery");
}
RedeliveryErrorHandler redelivery = (RedeliveryErrorHandler) errorHandler;
redelivery.getRedeliveryPolicy().setLogContinued(log);
}
Aggregations