[ 
https://issues.apache.org/jira/browse/CAMEL-4703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-4703.
--------------------------------

    Resolution: Fixed
      Assignee: Claus Ibsen

I updated the doc with a note about this.
                
> Multiple route definitions with distinct "handlers" only take into account 
> the first one 
> -----------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4703
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4703
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jetty
>    Affects Versions: 2.6.0
>         Environment: ServiceMix 4.3
>            Reporter: metatech
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.12.0
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Here is an extract of my camel-config.xml :
> <from uri="jetty:http://0.0.0.0:9000/route1?handlers=securityHandler1"/>
> <from uri="jetty:http://0.0.0.0:9000/route2?handlers=securityHandler2"/>
> The handler "securityHandler2" is ignored.
> Impact : 2 routes cannot be defined with distinct security roles within the 
> same bundle.
> Cause : the JettyHttpComponent.createServletForConnector is called only once, 
> therefore only "securityHandler1" is registered on the Jetty server instance.
> This might be considered as an acceptable limitation and documented as such.
> Workaround : use a different TCP port.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to