I think the magic is happened in side of camel spring post processor which inject the camel context to CamelContextAware interface. If you use CamelContextFactoryBean directly, it won’t setup the post processor for you out of box.
Please feel free to fill a JIRA for adding support of parent and abstraction. -- 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 December 9, 2014 at 9:35:49 AM, JustinCRL (justin.rosenb...@crlcorp.com) wrote: > I got farther with this. > > > class="org.apache.camel.spring.CamelContextFactoryBean"> > > > > > > > > .* > > > > > > > However, my org.apache.camel.spring.SpringRouteBuilder is > org.apache.camel.CamelContextAware and the context is not being set on it. > There is obviously a bit of *magic* involved in getting > to work. I will either have to live with copying the configuration for all > of my projects, or have a single configuration with a single name. I might > put in a feature request to support "abstract" and "parent" references. If > I do, I'll add the link to the JIRA here. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/FW-Spring-Camel-Parent-Context-tp5760339p5760347.html > > Sent from the Camel - Users mailing list archive at Nabble.com. >