THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- if the body of the message can be converted to a BeanInvocation (the default payload used by the ProxyHelper) - then that its used to invoke the method and pass the arguments
- if the message contains the header org.apache.camel.MethodName then that method is invoked, converting the body to whatever the argument is to the method
- otherwise the type of the method body is used to try find a method which matches; an error is thrown if a single method cannot be chosen unambiguously.
You can also use the @Property and @Header annotations on method parameters to tell Camel which parameters map to some header/property value and which parameters map to the message body. You can use @Body to be precise about which parameter is the body.
...