You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2013/12/09 07:44:16 UTC
[jira] [Resolved] (CXF-5273) Filter the interceptor according to
Phase instead of class name in WSDLGetInterceptor
[ https://issues.apache.org/jira/browse/CXF-5273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang resolved CXF-5273.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.6.10
2.7.7
3.0.0-milestone1
> Filter the interceptor according to Phase instead of class name in WSDLGetInterceptor
> -------------------------------------------------------------------------------------
>
> Key: CXF-5273
> URL: https://issues.apache.org/jira/browse/CXF-5273
> Project: CXF
> Issue Type: Improvement
> Components: Core
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Fix For: 3.0.0-milestone1, 2.7.7, 2.6.10
>
>
> Current WSDLGetInterceptor build up the out message interceptor chain like this
> {code}
> Iterator<Interceptor<? extends Message>> iterator = mout.getInterceptorChain().iterator();
> while (iterator.hasNext()) {
> Interceptor<? extends Message> inInterceptor = iterator.next();
> if (!inInterceptor.getClass().equals(StaxOutInterceptor.class)
> && !inInterceptor.getClass().equals(GZIPOutInterceptor.class)
> && !inInterceptor.getClass().equals(MessageSenderInterceptor.class)) {
> mout.getInterceptorChain().remove(inInterceptor);
> }
> }
> {code}
> It causes some troubles when users use some customer interceptors.
>
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)