Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
We should consider some DSL improvements to this interceptor so you can more easy do what you want with
- before
- call | skip
- after
In a easier to use DSL syntax. Just need to avoid it becoming to verbose.
Something a like:
interceptSendToEndpoint("jms:*) .before().to("bean:audit") .sendToEndpoint(); .after().to("bean:done").to("bean:moreStuff") .end()
And in XML
<interceptSendToEndpoint uri="jms:*"> <before> </before> <sendToEndpoint/> <after> ... </after> </interceptSendToEndpoint>
Attachments
Issue Links
- is related to
-
CAMEL-7677 advice with - Allow to influence interceptor/onException
- Resolved