camel-jetty connector override existing connector created by Pax Web on Karaf
-----------------------------------------------------------------------------

                 Key: CAMEL-2294
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2294
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-jetty
    Affects Versions: 2.1.0
         Environment: Apache Felix Karaf 1.2.0
Apache Camel 1.2.0
            Reporter: Charles Moulliard


When deploying a camel route containing camel-jetty endpoints, then the web 
management console of karaf cannot be accessed anymore through its url --> 
http://localhost:8080/webconsole/admin

All the traffic is redirect to the camel-jetty endpoints created  :

ex :

        <camel:camelContext trace="true"
                xmlns="http://camel.apache.org/schema/osgi"; >
                
                <camel:route>
                        <camel:from 
uri="jetty:http://localhost:8080?matchOnUriPrefix=true"/>
            <camel:loadBalance>
                            <camel:roundRobin/>
                            <camel:to 
uri="http://localhost:8181?throwExceptionOnFailure=false&amp;bridgeEndpoint=true"/>
 
                                <camel:to 
uri="http://localhost:8282?throwExceptionOnFailure=false&amp;bridgeEndpoint=true"/>
                        </camel:loadBalance> 
                </camel:route>
                
                <camel:route>
                    <camel:from 
uri="jetty:http://localhost:8181?matchOnUriPrefix=true"/>
                        <camel:to uri="cxfbean:reportIncidentServiceBean"/>
                </camel:route>
                
                <camel:route>
                    <camel:from 
uri="jetty:http://localhost:8282?matchOnUriPrefix=true"/>
                        <camel:to uri="cxfbean:reportIncidentServiceBean"/>
                </camel:route>
                
                <camel:route>
                        <camel:from uri="jms:queue:inout"/>
                        <camel:bean ref="reportIncidentDAOService" 
method="getReports"/>
                </camel:route>
                
        </camel:camelContext>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to