By the way, I don't see the bean (with @Activate) containing the CXF
endpoint creation and registration.
Or you can use CXF DOSGi (and so, you don't need @Activate).
On the REST bean, you can add:
@Component(service=HelloServiceRest.class,
property={"service.exported.interfaces=*",
"service.exported.configs=org.apache.cxf.rs",
"org.apache.cxf.rs.address=/helloRest"})
Regards
JB
On 12/01/2015 12:35 PM, Morgan Hautman wrote:
Hi all,
I'm working on a Karaf-boot sample to provide JAX-RS services using DS.
I already got the blueprint version working but I'm struggling with the
DS one.. and I need some help.
The code that I already got is here :
https://gist.github.com/mhautman/d580e6045fd999f9c10a
My guess is that I need an @Activate but I don't know what to put in
there..
Hope someone can help me out,thanks!
Regards,
Morgan
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com