Hi Benson

WebClient.create(address, Collections.singletonList(new MyProvider()))

you can also inject WebClient as jaxrs:client (set serviceClass="org.apache.cxf.jaxrs.client.WebClient") - in this case you can have jaxrs:client/@basePackages set to some package starting from which Spring will attempt to auto-discover it - though no way to do it with Blueprint just yet

Cheers, Sergey

On 26/02/16 20:03, Benson Margulies wrote:
We have our very own, registered, content type:

model/vnd.rosette.annotated-data-model

How do I teach the CXF WebClient to call some class of ours when
confronted with it?

(It's really just json in disguise.)



--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Reply via email to