[ https://issues.apache.org/jira/browse/CAMEL-15124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved CAMEL-15124. ------------------------------------- Resolution: Fixed > error-handler-builder: allow to reference processors by name > ------------------------------------------------------------ > > Key: CAMEL-15124 > URL: https://issues.apache.org/jira/browse/CAMEL-15124 > Project: Camel > Issue Type: Improvement > Components: camel-core > Reporter: Luca Burgazzoli > Assignee: Guillaume Nodet > Priority: Major > Fix For: 3.5.0 > > > DefaultErrorHandlerBuilder and the other ErrorHandlerBuilders have the > following fields: > {code:java} > public class DefaultErrorHandlerBuilder extends ErrorHandlerBuilderSupport { > protected CamelLogger logger; > protected RedeliveryPolicy redeliveryPolicy; > protected Processor onRedelivery; > protected Predicate retryWhile; > protected String retryWhileRef; > protected Processor failureProcessor; > protected Endpoint deadLetter; > protected String deadLetterUri; > protected boolean deadLetterHandleNewException = true; > protected boolean useOriginalMessage; > protected boolean useOriginalBody; > protected boolean asyncDelayedRedelivery; > protected String executorServiceRef; > protected ScheduledExecutorService executorService; > protected Processor onPrepareFailure; > protected Processor onExceptionOccurred; > public DefaultErrorHandlerBuilder() { > } > {code} > so there's no xyxRef as example, there's no onExceptionOccurredRef however it > looks like those refs are available with spring xml (and probably blueprint) > so wonder if we can add the refs on the ErrorHandlerBuilder. -- This message was sent by Atlassian Jira (v8.3.4#803005)