You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Ne...@wellsfargo.com on 2013/04/15 19:18:04 UTC
Server call vs. Client call
CXF has many interceptors. The interceptors will be invoked when CXF works as either server or client
When an application performances both CXF client and CXF server function, how the interceptor can know it is invoked by server call vs. client call.
Ed Xu
RE: Server call vs. Client call
Posted by Ne...@wellsfargo.com.
Thanks.
-----Original Message-----
From: Sergey Beryozkin [mailto:sberyozkin@gmail.com]
Sent: Monday, April 15, 2013 4:02 PM
To: users@cxf.apache.org
Subject: Re: Server call vs. Client call
On 15/04/13 18:18, Neng.Xu@wellsfargo.com wrote:
> CXF has many interceptors. The interceptors will be invoked when CXF
> works as either server or client When an application performances both CXF client and CXF server function, how the interceptor can know it is invoked by server call vs. client call.
>
MessageUtils.isRequestor(message) should help
Cheers, Sergey
>
> Ed Xu
>
>
>
>
Re: Server call vs. Client call
Posted by Sergey Beryozkin <sb...@gmail.com>.
On 15/04/13 18:18, Neng.Xu@wellsfargo.com wrote:
> CXF has many interceptors. The interceptors will be invoked when CXF works as either server or client
> When an application performances both CXF client and CXF server function, how the interceptor can know it is invoked by server call vs. client call.
>
MessageUtils.isRequestor(message) should help
Cheers, Sergey
>
> Ed Xu
>
>
>
>