You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Freeman Yue Fang (Jira)" <ji...@apache.org> on 2025/09/30 16:34:00 UTC

[jira] [Resolved] (CAMEL-22414) In 4.14.0, after calling CXF HTTP, the response stream is not cached

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

Freeman Yue Fang resolved CAMEL-22414.
--------------------------------------
    Resolution: Fixed

> In 4.14.0, after calling CXF HTTP, the response stream is not cached
> --------------------------------------------------------------------
>
>                 Key: CAMEL-22414
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22414
>             Project: Camel
>          Issue Type: Bug
>          Components: came-cxf
>    Affects Versions: 4.14.0
>            Reporter: John Yin
>            Assignee: Freeman Yue Fang
>            Priority: Minor
>             Fix For: 4.14.2, 4.15.0
>
>         Attachments: camel-spring-boot-examples-latest.zip
>
>
> After migrating from 4.10.6 -> 4.14.0, the response of our CXF HTTP call is not stream cached.  When we tried to read the response the second time, it became empty.  The Camel stream caching is enabled. While we could do a convertBody() to reset the response to String, but we would have to add such conversion in exception handling as well and may not be bullet proof.  We did not have this issue in 4.10.6.   We use CXF 4.1.3 with hc5.  Any idea?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)