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

Multiple servlets not supported

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.21.5
    • None
    • camel-core, camel-servlet
    • None
    • Apache Camel 2.21.5

    Description

      I think it's described pretty well in this stackoverflow question: https://stackoverflow.com/questions/55127006/multiple-servlets-with-camel-servlet-possible/55197778#55197778 

      To sum up: you can work with only one ServletComponent in Camel and you can point it to only one servlet (at least with rest dsl). This means if you want to have /api/ui/health and /api/business/health with servlets "ui" mapped to /api/ui/* and "business" mapped to /api/business/* with camel rest dsl you cannot.

      When working with Camel on an Java EE app server, which only supports Java EE 6 like WebSphere 8.5, I cannot move to Spring 5 (EE 7) and thus 2.21 is the last Camel version, I can work with. I would appreciate a hotfix for this reason.

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            antidote2 Robert Half
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: