THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Camel uses a strategy to resolve how exceptions should be handled.
Using try ... catch ... finally
Using Interceptors
You can register interceptors on a RouteBuilder so that they are inherited by all child routes. You can also use the DSL itself to write interceptors...
...
Code Block |
---|
// lets log messages from gold customers intercept(xpath("/customer[@type='gold']").to("log:customer").proceed(); from("seda:foo").to("seda:bar"); |
Changes in Camel 1.4
In Camel 1.4 proceed()
is now default, so the examples above can be written as:
...