You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/09/24 20:41:00 UTC

[jira] [Commented] (CAMEL-14823) Support to disable the stream caching in camel-servlet from the camel context - once more

    [ https://issues.apache.org/jira/browse/CAMEL-14823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17419973#comment-17419973 ] 

Claus Ibsen commented on CAMEL-14823:
-------------------------------------

This caused a stream closed exception when using camel-serlvet for some users, so lets backport this

> Support to disable the stream caching in camel-servlet from the camel context - once more
> -----------------------------------------------------------------------------------------
>
>                 Key: CAMEL-14823
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14823
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-servlet
>    Affects Versions: 2.25.0, 3.1.0
>            Reporter: Vojtech Fried
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 3.7.6, 3.11.3, 3.12.0
>
>
> Current camel-servlet doesn't support to disable the stream caching from the camel context, it just check the exchange property for it. The cloned CAMEL-8821 Jira tried to fix it, but the fix does not work. As the last comment there says, readRequestBodyFromServletRequest calls a wrong method ("readResponse..." instead of "readRequest...", only the latter contains the fix). Either those two methods could be merged into one (with the body of "readRequest...") or readRequestBodyFromServletRequest  should call "readRequest...".



--
This message was sent by Atlassian Jira
(v8.3.4#803005)