On Fri, Feb 18, 2011 at 7:45 AM, Richard Kettelerij <richardkettele...@gmail.com> wrote: > > Hi Claus, I 'll add it to the wiki. > > Do note that SpringSource recommends using ContextLoaderListener over > ContextLoaderServlet for modern (> Servlet 2.3 containers) since its > generally a more elegant way of loading the application contact. However I > have found no problem using ContextLoaderServlet and I've been using it for > a while now together with CamelHttpTransportServlet. > --
I wonder if we can really rely in the order they are specified in the web.xml? http://stackoverflow.com/questions/178562/how-to-determine-the-order-of-listeners-in-web-xml Then specify the camel listener before the spring listener. Although personally having <load-on-startup> stating the order is reassuring. Although one could dig into the JEE spec and see if it indeed state that orders of listeners is very strict, and ordered how they are defined in the web.xml? > View this message in context: > http://camel.465427.n5.nabble.com/Camel-and-Tomcat-tp3386793p3390642.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/