Hi Andrei
On 24/01/13 10:25, Andrei Shakirin wrote:
Hi,

Is there any reliable method to distinguish between WS- and RS- messages in CXF 
interceptor?
Implementation of interceptor is common for both stacks.

There are number of hints on the input message, in fact I can see the output message has "Message.REST_MESSAGE" set to true but not the in message - I also need it for some other work so I'll just get it set on the in message too. In meantime, check input message (or output one on the client side) for say "org.apache.cxf.resource.operation.name" - if this property is available - it is the RS message

Thanks, Sergey

Regards,
Andrei.



--
Sergey Beryozkin

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

Blog: http://sberyozkin.blogspot.com

Reply via email to