-
1. Re: SwitchYard - Setting header inside bean
kcbabo Sep 6, 2013 4:30 PM (in response to srini8881)You're hitting this issue, which will be fixed in the 1.1 release:
-
2. Re: SwitchYard - Setting header inside bean
synclpz Sep 12, 2013 4:52 AM (in response to kcbabo)Keith, may be anyone of your team have this already fixed with a pull request? It could be nice to check code out, backport it to 1.0 and use in our project
-
3. Re: SwitchYard - Setting header inside bean
kcbabo Sep 12, 2013 11:40 AM (in response to synclpz)No PR yet, but if you register as a watcher on the JIRA you'll be notified when the PR is submitted. :-) This will be fixed for 1.1 for sure.
-
4. Re: SwitchYard - Setting header inside bean
kcbabo Oct 10, 2013 12:28 PM (in response to kcbabo)I see you are watching the JIRA, but just in case you didn't get notified, this is the commit which introduced support for setting context properties on references:
https://github.com/kcbabo/components/commit/2e4abb49a7e4a0a4357d10954cba5563d5aea350
In a nutshell, you use ReferenceInvoker instead of the service interface at the injection site. ReferenceInvoker creates instances of ReferenceInvocation which provides access to the context and message references on the underlying exchange.
If you see a hole there, please let us know.