public class ErrorHandlerBuilderRef extends ErrorHandlerBuilderSupport implements ErrorHandlerRefProperties
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ERROR_HANDLER_BUILDER |
Constructor and Description |
---|
ErrorHandlerBuilderRef() |
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) |
String |
getRef() |
boolean |
isSupportTransacted() |
void |
setRef(String ref) |
void |
setSupportTransacted(boolean supportTransacted) |
boolean |
supportTransacted()
Whether this error handler supports transacted exchanges.
|
String |
toString() |
public static final String DEFAULT_ERROR_HANDLER_BUILDER
public ErrorHandlerBuilderRef()
public ErrorHandlerBuilderRef(String ref)
public boolean supportTransacted()
ErrorHandlerBuilder
supportTransacted
in interface ErrorHandlerBuilder
supportTransacted
in class ErrorHandlerBuilderSupport
public ErrorHandlerBuilder cloneBuilder()
ErrorHandlerBuilder
RouteBuilder
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.cloneBuilder
in interface ErrorHandlerBuilder
ErrorHandlerBuilder
protected void cloneBuilder(ErrorHandlerBuilderRef other)
public String getRef()
getRef
in interface ErrorHandlerRefProperties
public void setRef(String ref)
setRef
in interface ErrorHandlerRefProperties
public boolean isSupportTransacted()
isSupportTransacted
in interface ErrorHandlerRefProperties
public void setSupportTransacted(boolean supportTransacted)
setSupportTransacted
in interface ErrorHandlerRefProperties
Apache Camel