You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2010/05/18 04:08:15 UTC

[jira] Created: (SMXCOMP-746) cxf bc consumer should defer to return DONE ME to handle the response streamsource

cxf bc consumer should defer to return DONE ME to handle the response streamsource
----------------------------------------------------------------------------------

                 Key: SMXCOMP-746
                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-746
             Project: ServiceMix Components
          Issue Type: Bug
    Affects Versions: servicemix-cxf-bc-2010.01
            Reporter: Freeman Fang
            Assignee: Freeman Fang
             Fix For: servicemix-cxf-bc-2010.02


when cxf bc consumer talk to old http endpoint(similar issue when taik with any endpoint which return streamsource), http endpoint return some streamsource, but cxf bc consumer return DONE message(which cause http endpoint close the stream) too early before the interceptor chain run, so I encounter some StreamClose exception when use INFO log level, but can't see it with DEBUG log level, as DEBUG log always cache the Stream, so we need defer to set the DONE status, to make interceptor chain get chance to read the stream.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (SMXCOMP-746) cxf bc consumer should defer to return DONE ME to handle the response streamsource

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on SMXCOMP-746 started by Freeman Fang.

> cxf bc consumer should defer to return DONE ME to handle the response streamsource
> ----------------------------------------------------------------------------------
>
>                 Key: SMXCOMP-746
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-746
>             Project: ServiceMix Components
>          Issue Type: Bug
>    Affects Versions: servicemix-cxf-bc-2010.01
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: servicemix-cxf-bc-2010.02
>
>
> when cxf bc consumer talk to old http endpoint(similar issue when taik with any endpoint which return streamsource), http endpoint return some streamsource, but cxf bc consumer return DONE message(which cause http endpoint close the stream) too early before the interceptor chain run, so I encounter some StreamClose exception when use INFO log level, but can't see it with DEBUG log level, as DEBUG log always cache the Stream, so we need defer to set the DONE status, to make interceptor chain get chance to read the stream.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SMXCOMP-746) cxf bc consumer should defer to return DONE ME to handle the response streamsource

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang resolved SMXCOMP-746.
----------------------------------

    Resolution: Fixed

commit fix
http://svn.apache.org/viewvc?rev=945459&view=rev

> cxf bc consumer should defer to return DONE ME to handle the response streamsource
> ----------------------------------------------------------------------------------
>
>                 Key: SMXCOMP-746
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-746
>             Project: ServiceMix Components
>          Issue Type: Bug
>    Affects Versions: servicemix-cxf-bc-2010.01
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: servicemix-cxf-bc-2010.02
>
>
> when cxf bc consumer talk to old http endpoint(similar issue when taik with any endpoint which return streamsource), http endpoint return some streamsource, but cxf bc consumer return DONE message(which cause http endpoint close the stream) too early before the interceptor chain run, so I encounter some StreamClose exception when use INFO log level, but can't see it with DEBUG log level, as DEBUG log always cache the Stream, so we need defer to set the DONE status, to make interceptor chain get chance to read the stream.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.