There are some enhancement on the camel-servlet since camel 2.7.x.
If you want to leverage the spring ContextLoaderListener to load the file, you need to upgrade the camel that you use.

If not, you need to ask for commerical support as Apache Camel 2.4.0 is released for almost 2 years.

On Wed Mar 14 03:39:23 2012, manoj.sahu wrote:
Can someone please  give some guidance.  As per 2.4 servlet spec, Listners
(ContexLoaderListener) are loaded first before the servlets in the
container.  I am unsure how can this work.  When the spring context is
loaded it will never find the necessary component to resolve the route with
servlet://, which is defined in Spring.

Am I missing something?

I am using spirng 3 and camel 2.4. I am deploying under tomcat 6.

Thanks!

--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-and-Tomcat-tp3386793p5562315.html
Sent from the Camel - Users mailing list archive at Nabble.com.




--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
        http://jnn.javaeye.com (Chinese)
Twitter: willemjiang Weibo: willemjiang

Reply via email to