@Metadata(label="spring,configuration,error") public enum ErrorHandlerType extends Enum<ErrorHandlerType>
Enum Constant and Description |
---|
DeadLetterChannel |
DefaultErrorHandler |
NoErrorHandler |
TransactionErrorHandler |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getTypeAsClass()
Get the type as class.
|
static ErrorHandlerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorHandlerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorHandlerType DefaultErrorHandler
public static final ErrorHandlerType DeadLetterChannel
public static final ErrorHandlerType NoErrorHandler
public static final ErrorHandlerType TransactionErrorHandler
public static ErrorHandlerType[] values()
for (ErrorHandlerType c : ErrorHandlerType.values()) System.out.println(c);
public static ErrorHandlerType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Class<?> getTypeAsClass()
Apache Camel