Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You only need to use .endChoice() when using certain EIPs which often have additional methods to configure or as part of the EIP itself. For example the Splitter EIP has a sub-route which denotes the routing of each splitted message. You would also have to use .endChoice() to indicate the end of the sub-route and to return back to the Content Based Router. Note .endChoice() is available as of Camel 2.7.