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) |
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 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