Thanks for the suggestion Willem, I’ll look at the link. With this setup, I would have one context that uses the JNDI and another context that uses the spring and uses the context that has the jndi. I’ll give it a try, thank you.
On 4/22/14, 10:32 PM, "Willem Jiang" <[email protected]> wrote: >Current camel doesn’t share the Spring ApplicationContextRegistry with >the JndiRegistry. >But I think you can workaround it by using camel context component[1] >which can hold a camel context as a new component. > >[1]http://camel.apache.org/context.html > >-- >Willem Jiang > >Red Hat, Inc. >Web: http://www.redhat.com >Blog: http://willemjiang.blogspot.com (English) >http://jnn.iteye.com (Chinese) >Twitter: willemjiang >Weibo: 姜宁willem > > > >On April 22, 2014 at 9:37:31 PM, Jacinto, Alex (GE Energy Management) >([email protected]) wrote: >> Is there a way I can make the two work? What happens is that when I do >>ApplicationContextRegistry >> but wants to access through jndi it won’t work, if I do the >>JndiRegistry, it would not resolve >> all my routeContextRef. My camel-context looks like: >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> I would like to use camel simply for routing then use my beans for >>transformation. Am I >> going at this the wrong way? Let me know. Thanks in advance. >> >> Alex >
