You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jean-Baptiste Onofré (Created JIRA)" <ji...@apache.org> on 2012/03/07 08:21:56 UTC
[jira] [Created] (CAMEL-5064) Route using programmatically defined
CxfEndpoint doesn't appear as OSGi service
Route using programmatically defined CxfEndpoint doesn't appear as OSGi service
-------------------------------------------------------------------------------
Key: CAMEL-5064
URL: https://issues.apache.org/jira/browse/CAMEL-5064
Project: Camel
Issue Type: Bug
Components: camel-cxf
Affects Versions: 2.8.2
Reporter: Jean-Baptiste Onofré
Assignee: Jean-Baptiste Onofré
Fix For: 2.9.2
If we create a route with a CXF endpoint programmatically:
CxfEndpoint endpoint = new CxfEndpoint();
endpoint.setCamelContext(camelContext);
endpoint.setAddress(myAddress);
endpoint.setWsdlUrl(wsdl);
and register the route using
camelContext.add(routeDefinition);
the route is started and appears in the MBeans, but, in Karaf, routes:list doesn't display the route (as OSGi service is not there).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5064) Route using programmatically
defined CxfEndpoint doesn't appear as OSGi service
Posted by "Willem Jiang (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13225067#comment-13225067 ]
Willem Jiang commented on CAMEL-5064:
-------------------------------------
Hi JB,
How does the CxfEndpoint be referenced in your route ?
Willem
> Route using programmatically defined CxfEndpoint doesn't appear as OSGi service
> -------------------------------------------------------------------------------
>
> Key: CAMEL-5064
> URL: https://issues.apache.org/jira/browse/CAMEL-5064
> Project: Camel
> Issue Type: Bug
> Components: camel-cxf
> Affects Versions: 2.8.2
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Fix For: 2.9.2
>
>
> If we create a route with a CXF endpoint programmatically:
> CxfEndpoint endpoint = new CxfEndpoint();
> endpoint.setCamelContext(camelContext);
> endpoint.setAddress(myAddress);
> endpoint.setWsdlUrl(wsdl);
> and register the route using
> camelContext.add(routeDefinition);
> the route is started and appears in the MBeans, but, in Karaf, routes:list doesn't display the route (as OSGi service is not there).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CAMEL-5064) Route using programmatically defined
CxfEndpoint doesn't appear as OSGi service
Posted by "Jean-Baptiste Onofré (Resolved JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved CAMEL-5064.
-----------------------------------------
Resolution: Cannot Reproduce
Fix Version/s: (was: 2.9.2)
After a complete cleanup of the data folder, I don't have the issue anymore.
> Route using programmatically defined CxfEndpoint doesn't appear as OSGi service
> -------------------------------------------------------------------------------
>
> Key: CAMEL-5064
> URL: https://issues.apache.org/jira/browse/CAMEL-5064
> Project: Camel
> Issue Type: Bug
> Components: camel-cxf
> Affects Versions: 2.8.2
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
>
> If we create a route with a CXF endpoint programmatically:
> CxfEndpoint endpoint = new CxfEndpoint();
> endpoint.setCamelContext(camelContext);
> endpoint.setAddress(myAddress);
> endpoint.setWsdlUrl(wsdl);
> and register the route using
> camelContext.add(routeDefinition);
> the route is started and appears in the MBeans, but, in Karaf, routes:list doesn't display the route (as OSGi service is not there).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5064) Route using programmatically
defined CxfEndpoint doesn't appear as OSGi service
Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13225081#comment-13225081 ]
Jean-Baptiste Onofré commented on CAMEL-5064:
---------------------------------------------
Hi Willem,
I create a RouteDefinition and put directly in the from:
RouteDefintion route = new RouteDefintion();
route.from(cxfEndpoint).process(new MyProcessor()).to("other...");
And I register the route definition in the CamelContext.
> Route using programmatically defined CxfEndpoint doesn't appear as OSGi service
> -------------------------------------------------------------------------------
>
> Key: CAMEL-5064
> URL: https://issues.apache.org/jira/browse/CAMEL-5064
> Project: Camel
> Issue Type: Bug
> Components: camel-cxf
> Affects Versions: 2.8.2
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Fix For: 2.9.2
>
>
> If we create a route with a CXF endpoint programmatically:
> CxfEndpoint endpoint = new CxfEndpoint();
> endpoint.setCamelContext(camelContext);
> endpoint.setAddress(myAddress);
> endpoint.setWsdlUrl(wsdl);
> and register the route using
> camelContext.add(routeDefinition);
> the route is started and appears in the MBeans, but, in Karaf, routes:list doesn't display the route (as OSGi service is not there).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira