THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
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.