public final class ExceptionPolicyKey extends Object
| Constructor and Description |
|---|
ExceptionPolicyKey(String routeId,
Class<? extends Throwable> exceptionClass,
org.apache.camel.Predicate when)
Key for exception clause
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Class<?> |
getExceptionClass() |
String |
getRouteId() |
org.apache.camel.Predicate |
getWhen() |
int |
hashCode() |
String |
toString() |
public ExceptionPolicyKey(String routeId, Class<? extends Throwable> exceptionClass, org.apache.camel.Predicate when)
routeId - the route, or use null for a global scopedexceptionClass - the exception classwhen - optional predicate when the exception clause should triggerApache Camel