cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-3545) LocalDestination with DirectDispatch does not work with interceptors that decorate the OutputStream
Date Wed, 25 May 2011 01:04:47 GMT

     [ https://issues.apache.org/jira/browse/CXF-3545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp resolved CXF-3545.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3.5
                   2.4.1

> LocalDestination with DirectDispatch does not work with interceptors that decorate the
OutputStream
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3545
>                 URL: https://issues.apache.org/jira/browse/CXF-3545
>             Project: CXF
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 2.3.2, 2.4
>         Environment: Found in CXF 2.3.2, confirmed the code is the same in 2.4.0
> Windows 2003 Server x64
>            Reporter: Peter Kedvessy
>            Assignee: Daniel Kulp
>             Fix For: 2.4.1, 2.3.5
>
>
> Create a Server that uses the local transport.
> Set property org.apache.cxf.transport.local.LocalConduit.directDispatch
> Add an Out interceptor to the Server that decorates the OutputStream. For example GZIPOutInterceptor.
> Expected:
> decorated OutputStream to work.
> Actual:
> ClassCastException
> Cause:
> {code:title=org.apache.cxf.transport.local.LocalDestination.close(Message)}
> CachedOutputStream stream = (CachedOutputStream)message.getContent(OutputStream.class);
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message