cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-5273) Filter the interceptor according to Phase instead of class name in WSDLGetInterceptor
Date Mon, 09 Dec 2013 06:44:16 GMT

     [ 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)

Mime
View raw message