You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2017/04/24 09:40:04 UTC

[jira] [Commented] (CXF-3438) Karaf command line commands for CXF

    [ https://issues.apache.org/jira/browse/CXF-3438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15980939#comment-15980939 ] 

Christian Schneider commented on CXF-3438:
------------------------------------------

It is possible to achieve this using DOSGi. There is a config based discovery. So you can simply create a config that defines the service properties you would normally set on the service to export it via DOSGi and it will be exported.

If the service is created as a DS component then DS even allows to override the service properties by default. 
So I am not sure if we need such a command. What do you think?

> Karaf command line commands for CXF
> -----------------------------------
>
>                 Key: CXF-3438
>                 URL: https://issues.apache.org/jira/browse/CXF-3438
>             Project: CXF
>          Issue Type: New Feature
>          Components: OSGi
>            Reporter: Daniel Kulp
>              Labels: mentor
>
> With the enhanced blueprint capabilities in CXF 2.4 and the tighter integration with Karaf, it would be nice to create a set of Karaf shell commands for performing various CXF related operations.   For example, if there is a bundle deployed that has a service implementation (or possibly that registered an OSGi service that you want exposed via CXF), you could do:
> {code}
> cxf:createService --ref=MyServiceRef --wsdlLocation=/foo/foo.wsdl --address=http://localhost:9000/MyService  
> {code}
> to create a new "bundle" (similar to how the activemq broker commands work) to create and start the service.
> This commands feature could extend to stopping things, JAX-RS/REST, starting up the log browser, etc....



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)