Hi Tom,

that won't work out of the box as Karaf 4.2.x is still R6.

It will work with Karaf 4.3.x that will be R7.

In the mean time, I'm creating a very simply rest whiteboard pattern for
CXF.
It doesn't use all the JAXRS whiteboard spec, but just works fine for
most of the use cases.

Regards
JB

On 22/11/2018 17:00, [email protected] wrote:
>> You should then be able to get away with relatively few bundles. The JAX-RS 
>> Whiteboard API, OSGi Promises + function, the Aries wrapping of the JAX-RS 
>> API and the Aries JAX-RS Whiteboard implementation should be enough. This is 
>> by far preferable to using CXF directly, where you don’t have proper 
>> resource isolation, nor do you have a nice way to apply extensions (e.g. 
>> JSON support, CORS headers, etc).
> 
> So I've added those bundles (promise, function and the aries jaxrs spec 
> bundle for the JavaJAXRS capability), the problem I now have is that it's 
> missing the JavaAnnotation capability, version 1.3.0. 
> I suspect I have something providing an earlier version of that, but at the 
> moment my OSGi fu hasn't yielded the answer yet.
> 
> Good to know though that I'm potentially on the right track.
> 

-- 
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to