Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-5454

camel-example-gae silently fails (needs updates to use latest CamelHttpTransportServlet)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.10.0
    • Fix Version/s: 2.9.3, 2.10.1, 2.11.0
    • Component/s: examples
    • Labels:
      None
    • Environment:

      All

    • Estimated Complexity:
      Novice
    • Regression:
      Regression

      Description

      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>

        Attachments

          Activity

            People

            • Assignee:
              njiang Willem Jiang
              Reporter:
              jaysonraymond Jayson Raymond
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: