Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

With the XPath trait, you have an additional method available on an Exchange to do XPath queries against the message. Just look at this Splitter example, where the xpath method is used in a Exchange ⇒ Any* function literal

...

Using JXPath

With the org.apache.camel.scala.dsl.languages.JXPath trait, you can an additional jxpath method on the Exchange. In the Recipient List example below, JXPath is used for getting the next endpoint's name out of the message body.

...