karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: JAX-RS and Declarative services
Date Tue, 01 Dec 2015 12:05:13 GMT
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:



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é
Talend - http://www.talend.com

View raw message