Hi
On 11/04/13 17:01, Julio Carlos Barrera Juez wrote:
Excuse for my last incomplete mail.

I want to add more than one interceptor. I know the
"org.apache.cxf.rs.in.interceptors" property uses when registering the OSGi
service, it seems to work when I added one interceptor, but when I try to
add more than one, it failed.

On 11 April 2013 17:56, Julio Carlos Barrera Juez<
[email protected]>  wrote:

I ant to add an input interceptor to the example Greeter REST (
http://svn.apache.org/repos/asf/cxf/dosgi/trunk/samples/greeter_rest/)
that uses DOSGI-CXF. It iis possible? How can I proceed?

At the moment the only way to add multiple providers of different types (CXF interceptors, jaxrs providers) to DSW is to use String[] array or have a single String with the class names of the providers separated by ',', which can be restricting if you need to have them pre-configured,

Please see
https://issues.apache.org/jira/browse/DOSGI-166

I'm going to fix it for 1.4.1

By the way, the possible workaround is indeed register a single interceptor instance but all this interceptor will do is dynamically add other CXF interceptors (preconfigured as needed) to the CXF chain in its handleMessage method

Sergey

Reply via email to