...
Message exchange patterns and the Exchange object
The Camel API is influenced by APIs such as JBI specification, CXF which defines a concept called Message Exchange Patterns (MEP for short).
...
Flow of an exchange through a route
Info |
---|
Important: The figure is wrong, the "producer" on the first node to the left, should be "consumer". |
- The out message from each step is used as the in message for the next step
- if there is no out message then the in message is used instead
- For the InOut MEP the out from the last step in the route is returned to the producer. In case of InOnly the last out is thrown away
...