Versions Compared

Key

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

...

So you can bind parameters of the method to the Exchange, the Message or individual headers, properties, the body or other expressions.

Other examples

We have some test cases you can look at if it'll help

  • MethodFilterTest is a JUnit test case showing the Java DSL use of the bean expression being used in a filter
  • aggregator.xml is a Spring XML test case for the Aggregator which uses a bean method call to test for the completion of the aggregation.