Package | Description |
---|---|
org.apache.camel.model |
The JAXB POJOs for the
XML Configuration
of the routing rules.
|
Modifier and Type | Method and Description |
---|---|
TryDefinition |
TryDefinition.doCatch(Class<? extends Throwable>... exceptionType)
Handles the given exception(s)
|
TryDefinition |
TryDefinition.doCatch(Class<? extends Throwable> exceptionType)
Handles the given exception
|
TryDefinition |
TryDefinition.doFinally()
The finally block for a given handle
|
TryDefinition |
ProcessorDefinition.doTry()
Creates a try/catch block
|
TryDefinition |
ProcessorDefinition.endDoTry()
Ends the current block and returns back to the
doTry() DSL. |
TryDefinition |
TryDefinition.handled(boolean handled)
Deprecated.
will be removed in Camel 3.0. Instead of using handled(false) you can re-throw the exception
from a
Processor or use the ProcessorDefinition.throwException(Exception) |
TryDefinition |
TryDefinition.handled(Expression handled)
Deprecated.
will be removed in Camel 3.0. Instead of using handled(false) you can re-throw the exception
from a
Processor or use the ProcessorDefinition.throwException(Exception) |
TryDefinition |
TryDefinition.handled(Predicate handled)
Deprecated.
will be removed in Camel 3.0. Instead of using handled(false) you can re-throw the exception
from a
Processor or use the ProcessorDefinition.throwException(Exception) |
TryDefinition |
TryDefinition.onWhen(Predicate predicate)
Sets an additional predicate that should be true before the onCatch is triggered.
|
Apache Camel