Also can someone tell me how to specify the @Path annotation. Should we create
one in the Java package?
From: Manoj Venkatesh Rajamani (Product Engineering Service)
Sent: 30 September 2016 09:27
To: OSGi Developer Mail List
Subject: RE: [osgi-dev] Help
Hi All,
In the
Hi All,
Please help. This is urgent..
Using the enRoute OSGi REST provider
1. How do I set the @Path annotation for my classes and methods?
Basically, I want to differentiate *HTTP GET* catered by getFoo() methods
present in different classes. I thought,I can do this based on URI
Please reply.. Gentle Reminder ☺
From: Manoj Venkatesh Rajamani (Product Engineering Service)
Sent: 30 September 2016 12:49
To: 'OSGi Developer Mail List'
Subject: RE: [osgi-dev] Help
Hi All,
Please help. This is urgent..
Using the enRoute OSGi REST provider
1.
Hi All,
I am able to resolve 2nd part . Please help me with the first part…
· How do I set the default root in the Using the enRoute OSGi REST
provider ? (Basic doubt I have)
· How do I take it to class level and method level !! Basically, If I
want to use the same
Yes .. CXF should provide good jaxrs support.
See the DS REST example of CXF DOSGi
https://github.com/apache/cxf-dosgi/tree/master/samples/rest
The SOAP example also has a bndrun file that you can easily adapt to the
rest example.
Christian
2016-09-30 17:11 GMT+02:00 Peter Kriens
If you have complex REST API needs then you better check out JAX-RS
implementations. The purpose of the OSGi enRoute REST API is to make it as
simple as posible to call methods from Javascript into an OSGi service. It was
not designed to be a general purpose REST API with full mapping.
The