| Package | Description |
|---|---|
| org.apache.camel.processor.errorhandler |
Exception policy startegies for Dead Letter Channel pattern.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<ExceptionPolicyKey,ExceptionPolicy> |
ErrorHandlerSupport.exceptionPolicies |
| Modifier and Type | Method and Description |
|---|---|
ExceptionPolicyKey |
DefaultExceptionPolicyStrategy.getExceptionPolicy(Set<ExceptionPolicyKey> exceptionPolicies,
org.apache.camel.Exchange exchange,
Throwable exception) |
ExceptionPolicyKey |
ExceptionPolicyStrategy.getExceptionPolicy(Set<ExceptionPolicyKey> exceptionPolicies,
org.apache.camel.Exchange exchange,
Throwable exception)
Resolves the
ExceptionPolicyKey that should handle the thrown exception. |
| Modifier and Type | Method and Description |
|---|---|
void |
ErrorHandlerSupport.addExceptionPolicy(ExceptionPolicyKey key,
ExceptionPolicy policy) |
protected boolean |
DefaultExceptionPolicyStrategy.filter(ExceptionPolicyKey type,
Class<?> exceptionClass,
Throwable exception)
Strategy to filter the given type exception class with the thrown exception
|
protected boolean |
DefaultExceptionPolicyStrategy.matchesWhen(ExceptionPolicyKey definition,
org.apache.camel.Exchange exchange)
Strategy method for matching the exception type with the current exchange.
|
| Modifier and Type | Method and Description |
|---|---|
ExceptionPolicyKey |
DefaultExceptionPolicyStrategy.getExceptionPolicy(Set<ExceptionPolicyKey> exceptionPolicies,
org.apache.camel.Exchange exchange,
Throwable exception) |
ExceptionPolicyKey |
ExceptionPolicyStrategy.getExceptionPolicy(Set<ExceptionPolicyKey> exceptionPolicies,
org.apache.camel.Exchange exchange,
Throwable exception)
Resolves the
ExceptionPolicyKey that should handle the thrown exception. |
Apache Camel