You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Charles Moulliard (JIRA)" <ji...@apache.org> on 2009/12/16 11:23:52 UTC
[jira] Created: (CAMEL-2294) camel-jetty connector override
existing connector created by Pax Web on Karaf
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&bridgeEndpoint=true"/>
<camel:to uri="http://localhost:8282?throwExceptionOnFailure=false&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.
[jira] Commented: (CAMEL-2294) camel-jetty connector override
existing connector created by Pax Web on Karaf
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56469#action_56469 ]
Willem Jiang commented on CAMEL-2294:
-------------------------------------
Hi Charles,
If you want to share the port between PaxWeb and camel route, you need to consider to use camel-servlet component.
If you want camel router to listen to the other port, you may consider to user camel-jetty component.
> 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&bridgeEndpoint=true"/>
> <camel:to uri="http://localhost:8282?throwExceptionOnFailure=false&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.
[jira] Resolved: (CAMEL-2294) camel-jetty connector override
existing connector created by Pax Web on Karaf
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charles Moulliard resolved CAMEL-2294.
--------------------------------------
Resolution: Fixed
workaround = use another port number
> 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&bridgeEndpoint=true"/>
> <camel:to uri="http://localhost:8282?throwExceptionOnFailure=false&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.
[jira] Commented: (CAMEL-2294) camel-jetty connector override
existing connector created by Pax Web on Karaf
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56468#action_56468 ]
Claus Ibsen commented on CAMEL-2294:
------------------------------------
Then use other port numbers which do *not* clash with the admin console.
> 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&bridgeEndpoint=true"/>
> <camel:to uri="http://localhost:8282?throwExceptionOnFailure=false&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.