Re: No web.xml CamelHttpTransportServlet configuration with Spring Java Config

2014-08-27 Thread Willem Jiang
Hi, I don’t think you need to call the camelHttpTransportServlet.init(new ServletConfig() {…} there. The init method can be called by the spring framework finally. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Ch

No web.xml CamelHttpTransportServlet configuration with Spring Java Config

2014-08-27 Thread nickwong
Hey guys, Tomcat 7 Java 7 Camel 2.13.2 Spring 4.0.6 Spring Java Config enthusiast here. I am just starting out with Camel and I'd like to keep my projects as XML free as possible. I'm planning on doing an HTTP endpoint in the project and I've got a web.xml setting up the CamelHttpTransportServlet