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] [Created] (CXF-5273) Filter the interceptor according to Phase instead of class name in WSDLGetInterceptor
Date Thu, 12 Sep 2013 03:03:52 GMT
Willem Jiang created CXF-5273:
---------------------------------

             Summary: 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, 2.6.10, 2.7.7


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message