Hi Rob,

> The question is, how would one accomplish binding objects into the camel
> registry BEFORE the route are built using a spring file for context
> configuration and the org.springframework.web.context.ContextLoaderListener?

Actually I'm surprised that we don't have Spring-aware
CamelServletContextListener implementation. It will be nice to have
SpringCamelServletContextListener extending
CamelServletContextListener and delegating to Spring's
ContextLoaderListener. That would solve your issues. Anybody willing
to contribute [1]? :)

Cheers.

[1] https://camel.apache.org/contributing.html

-- 
Henryk Konsek
http://henryk-konsek.blogspot.com

Reply via email to