Also to consider: ECF provides an impl of the OSGi R6 Remote
Service/Remote Service Admin specifications [1] with pluggable
distribution providers [2].
Our Jax-RS provider [3] uses/is based upon CXF (or Jersey).
Scott
[1] https://wiki.eclipse.org/Eclipse_Communication_Framework_Project
[2] https://wiki.eclipse.org/Distribution_Providers
[3] https://github.com/ECF/JaxRSProviders
On 6/30/2016 6:12 AM, James Carman wrote:
Consider using CXF. Very well tested.
On Thu, Jun 30, 2016 at 8:46 AM Artur Lojewski <lojew...@gmail.com
<mailto:lojew...@gmail.com>> wrote:
OK,
thanks both of you for your response! I forgot to mention that I
am using
the 'OSGi JAX-RS Connector' v5.3.1 from EclipseSource.
So one can use the config admin to set the 'root' path as follows:
/config:property-set -p com.eclipsesource.jaxrs.connector root /foo/
This works for root paths like '/abc', '/ab' and '/a' - but not
'/' alone!
When I use '/' as root path value I cannot call
http://localhost/abd/def.
This seems to be a bug in the implementation.
Moreover, configuring the 2nd config admin parameter
'publishDelay' results
in a ClassCastException...
So I guess I have to contact Holger Staudacher (OSGi JAX-RS
Connector /
GitHub).
Thanks for your help!
--
View this message in context:
http://karaf.922171.n3.nabble.com/JAX-RS-Annotations-and-Apache-Karaf-4-0-5-tp4047001p4047014.html
Sent from the Karaf - User mailing list archive at Nabble.com.