I want to inject several client proxies by spring. Most of them have the same
definition. So one service is defined like this:


With the exception of the serviceClass some other services/proxies are
configured identically. It looks strange if the whole configuration is
repeated n times for every service. Is there a way to reuse the
configuration? I saw that there is an abstract attribute for
jaxrs-client:client, but I haven't found a way to reference to this
(abstract) parent by other client definitions.
One way could be to use a common resource class that provides access to all
other proxies (as subresources). But then I am not able to use the proxies
directly because only the common resource class can be injected.

Any ideas?

Regards
Axel



--
View this message in context: 
http://cxf.547215.n5.nabble.com/jaxrs-client-client-with-abstract-true-reuse-configuration-tp5758318.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to