// and if so then we can safely replace that with our transacted error handler
if (ref.isErrorHandlerBuilderConfigued()) {
if (LOG.isDebugEnabled()) {
LOG.debug("Looking up ErrorHandlerBuilder with ref: " + ref.getRef());
}
builder = ref.lookupErrorHandlerBuilder(routeContext);
}
}
if (builder != null && builder.supportTransacted()) {
// already a TX error handler then we are good to go