You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2018/12/19 07:29:00 UTC

[jira] [Created] (CAMEL-13016) camel-jetty - If multiple bundles uses the same context-path (pathspec) then Jetty should fail

Claus Ibsen created CAMEL-13016:
-----------------------------------

             Summary: camel-jetty - If multiple bundles uses the same context-path (pathspec) then Jetty should fail
                 Key: CAMEL-13016
                 URL: https://issues.apache.org/jira/browse/CAMEL-13016
             Project: Camel
          Issue Type: Bug
          Components: camel-jetty
    Affects Versions: 2.23.0
            Reporter: Claus Ibsen
             Fix For: 3.0.0, 2.24.0, 2.23.1


If you have 2 bundles that both uses the same context-path with a jetty consumer, then the last installed bundle will be routing the incoming requests, and the first installed will not be in use, and if you uninstall the 2nd bundle then the 1st bundle will still not be in use and jetty will return a 404.

We should detect that there is already another jetty consumer with the same context-path to be routing when creating a jetty connector listener and then fail if so.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)