Jayson Raymond created CAMEL-5454:
-------------------------------------

             Summary: camel-example-gae silently fails (needs updates to use 
latest CamelHttpTransportServlet)
                 Key: CAMEL-5454
                 URL: https://issues.apache.org/jira/browse/CAMEL-5454
             Project: Camel
          Issue Type: Bug
          Components: examples
    Affects Versions: 2.10.0
         Environment: All
            Reporter: Jayson Raymond


Example silently fails.
It depends on CamelHttpTransportServlet which appears to have changed at 2.7 -  
Spring context initializing RouteBuilder is never read.
Following steps were taken in 2.10 to get example to function again:

1) web.xml: needs CamelHttpTransportServlet configuration as it is on 
http://camel.apache.org/servlet-tomcat-example.html including adding Spring 
ContextLoaderListener.

2) pom.xml: Needs the following dependency added to access Spring 
ContextLoaderListener:

        <!-- we need spring web to read context -->
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-web</artifactId>
            <version>3.0.7.RELEASE</version>
        </dependency>



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to