Thanks, Sergei!
> -----Original Message----- > From: Sergey Beryozkin [mailto:[email protected]] > Sent: Donnerstag, 24. Januar 2013 11:53 > To: [email protected] > Subject: Re: Distinguish WS- and RS- message in Interceptor > > 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
