GitHub user chris-jh opened a pull request: https://github.com/apache/camel/pull/1429
CAMEL-10745 Fix to turn off binding using the POJO @Produce, when there are multiple arguments on the interface method for remoting. 1. Added binding to Produce annotation default is true. 2. Added binding passthrough in class CamelPostProcessorHelp for getInjectionValue, still kept old method without binding, but with default binding being true. 3. CamelPostProcessorHelp.getInjectionValue ProxyHelper to use binding parameter passed through. 4. Changed DefaultCamelBeanPostProcessor to pass binding option from Produce annotation into the injectField method. 5. Changed DefaultCamelBeanPostProcessor. injectField to pass the binding option to the PostProcessorHelper. 6. Added Test for Spring multiple argument POJO for @Product @Consume. When binding is set to false to will work, but when true it will fail. You can merge this pull request into a Git repository by running: $ git pull https://github.com/chris-jh/camel CAMEL-10745 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/1429.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1429 ---- ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---