[
https://issues.apache.org/jira/browse/CAMEL-8821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14742177#comment-14742177
]
Mateusz Nowakowski commented on CAMEL-8821:
-------------------------------------------
.m2\repository\org\apache\camel\camel-http\2.15.3\camel-http-2.15.3-sources.jar\org\apache\camel\component\http\helper\HttpHelper.java
contains
{code}
public static Object readRequestBodyFromServletRequest(HttpServletRequest
request, Exchange exchange) throws IOException {
InputStream is = HttpConverter.toInputStream(request, exchange);
return readResponseBodyFromInputStream(is, exchange);
}
{code}
Shouldn't it be:
{code}
public static Object readRequestBodyFromServletRequest(HttpServletRequest
request, Exchange exchange) throws IOException {
InputStream is = HttpConverter.toInputStream(request, exchange);
return readRequestBodyFromInputStream(is, exchange);
}
{code}
> Support to disable the stream caching in camel-servlet from the camel context
> -----------------------------------------------------------------------------
>
> Key: CAMEL-8821
> URL: https://issues.apache.org/jira/browse/CAMEL-8821
> Project: Camel
> Issue Type: Improvement
> Components: camel-servlet
> Affects Versions: 2.14.3, 2.15.2
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Fix For: 2.15.3, 2.16.0, 2.14.4
>
>
> Current camel-servlet doesn't support to disable the stream caching from the
> camel context, it just check the exchange property for it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)