Re: CXF feature question

2015-09-29 Thread Freeman Fang
Hi, Those resource import are not needed for a while. - Freeman(Yue) Fang Red Hat, Inc. FuseSource is now part of Red Hat > On Sep 26, 2015, at 1:06 AM, Daniel McGreal wrote: > > Hi Karaf types, > > I’m using Karaf 3.0.1 and the cxf-jaxrs feature for

Re: CXF feature question

2015-09-29 Thread Daniel McGreal
Hi Freeman, I wondered that, removed them but got an error about missing an http transport bean of some kind. Investigating that error led by o a post about the missing imports. Are they replaced by some other construct? Could you elaborate on what is required? I'll be looking into the other

Re: CXF feature question

2015-09-29 Thread Daniel McGreal
Thanks Freeman, The example at https://github.com/apache/servicemix/tree/master/examples/cxf/cxf-jaxrs was helpful. Dan. > On 29 Sep 2015, at 13:10, Freeman Fang wrote: > > Hi Dan, > > You can

Re: CXF feature question

2015-09-29 Thread Freeman Fang
Hi Dan, You can download Apache Servicemix kit, where you can find a cxf-jaxrs example shipped with kit, it should be very similar as your scenario. - Freeman(Yue) Fang Red Hat, Inc. FuseSource is now part of Red Hat > On Sep 29, 2015, at 3:23 PM, Daniel McGreal

Re: Extending karaf command

2015-09-29 Thread xav
Hi all, The following code works in karaf (3.0.4) with the console and with IPOJO @Component @Instantiate @Provides public class SampleCommand { @ServiceProperty(name = "osgi.command.scope", value = "*") String scope; @ServiceProperty(name = "osgi.command.function", value = "{}")