Thanks, Ray,

Things are starting to look promising :-)

One query, I am finding in my system, after running resolve, the app sometimes needs to be saved manually after the resolve other times it is saved auto.
Is this normal?

Paul


On 22/01/2019 3:16 pm, Raymond Auge wrote:
_clientBuilder_ is a reference to the `javax.ws.rs.client.ClientBuilder` *service* provided by JAXRS Whiteboard, which you can get to satisfy the above code example with:

@Reference
private ClientBuilder clientBuilder;

    I cannot find dependecies which satisfy the rx(Promise...) line.


https://osgi.org/specification/osgi.cmpn/7.0.0/service.jaxrs.html#org.osgi.service.jaxrs.client.PromiseRxInvoker

So:

<dependency>
  <groupId>org.osgi</groupId>
<artifactId>org.osgi.service.jaxrs</artifactId>
  <version>1.0.0</version>
</dependency>

import org.osgi.service.jaxrs.client.PromiseRxInvoker;

HTH
- Ray

    I have tried most of the glassfish jersey bundles and quite a few others.

    Is there any working code examples available or can anyone suggest the 
required dependencies?

    Paul

    _______________________________________________
    OSGi Developer Mail List
    osgi-dev@mail.osgi.org <mailto:osgi-dev@mail.osgi.org>
    https://mail.osgi.org/mailman/listinfo/osgi-dev



--
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile> (@rotty3000)
Senior Software Architect *Liferay, Inc.* <http://www.liferay.com> (@Liferay)
Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)


_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to