cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liu, Jervis" <j...@iona.com>
Subject RE: doIntercept call semantics
Date Thu, 08 Feb 2007 04:05:34 GMT


> -----Original Message-----
> From: Polar Humenn [mailto:phumenn@iona.com]
> Sent: 2007?2?8? 5:58
> To: cxf-dev@incubator.apache.org
> Subject: doIntercept call semantics
> 
> 
> Inside an interceptor, I'll assume the "handleMessage(Message 
> message)" 
> call, what is the purpose of calling 
> InterceptorChain.doIntercept(message)?
> 
> Is it right to assume that after a call to doIntercept() the chain is 
> completely executed?
> 
> So is code placed after this call provide some clean up or 
> end fixing to 
> the message?
> 
> Also, can somebody tell me the intended semantics of 
> InterceptorChain.doInterceptInSubChain() and a definitive use-case?
> 

Discussions related to subchain can be found from [1] [2], actually the main reason why we
proposed an onComplete() method is to remove the subchain.

[1]. http://mail-archives.apache.org/mod_mbox/incubator-cxf-dev/200701.mbox/%3c9A4696F35B459043970EE4A85A3173900665B6@amer-ems1.IONAGLOBAL.COM%3e
[2]. http://mail-archives.apache.org/mod_mbox/incubator-cxf-dev/200701.mbox/%3c9A4696F35B459043970EE4A85A3173900665B1@amer-ems1.IONAGLOBAL.COM%3e

> Thanks,
> -Polar
> 
> 

Mime
View raw message