public class ErrorHandlerBuilderRef extends ErrorHandlerBuilderSupport
| Constructor and Description |
|---|
ErrorHandlerBuilderRef(String ref) |
| Modifier and Type | Method and Description |
|---|---|
ErrorHandlerBuilder |
cloneBuilder()
Clones this builder so each
RouteBuilder has its private builder
to use, to avoid changes from one RouteBuilder to influence the
others. |
protected void |
cloneBuilder(ErrorHandlerBuilderRef other) |
org.apache.camel.Processor |
createErrorHandler(org.apache.camel.spi.RouteContext routeContext,
org.apache.camel.Processor processor) |
org.apache.camel.ErrorHandlerFactory |
getOrLookupErrorHandlerFactory(org.apache.camel.spi.RouteContext routeContext) |
String |
getRef() |
boolean |
supportTransacted()
Whether this error handler supports transacted exchanges.
|
String |
toString() |
addExceptionPolicy, cloneBuilder, configure, createExceptionClasses, exceptionPolicyStrategy, getExceptionPolicyStrategy, setExceptionPolicyStrategy, toExceptionPolicypublic ErrorHandlerBuilderRef(String ref)
public org.apache.camel.Processor createErrorHandler(org.apache.camel.spi.RouteContext routeContext, org.apache.camel.Processor processor) throws Exception
Exceptionpublic org.apache.camel.ErrorHandlerFactory getOrLookupErrorHandlerFactory(org.apache.camel.spi.RouteContext routeContext)
getOrLookupErrorHandlerFactory in interface org.apache.camel.ErrorHandlerFactorygetOrLookupErrorHandlerFactory in class ErrorHandlerBuilderSupportpublic boolean supportTransacted()
ErrorHandlerBuilderpublic ErrorHandlerBuilder cloneBuilder()
ErrorHandlerBuilderRouteBuilder has its private builder
to use, to avoid changes from one RouteBuilder to influence the
others.
This is needed by the current Camel 2.x architecture.ErrorHandlerBuilderprotected void cloneBuilder(ErrorHandlerBuilderRef other)
Apache Camel