Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
-
Unknown
Description
Hi Team,
I am getting ERR_CONTENT_LENGTH_MISMATCH, while converting response data into json format that is coming from another HTTP Rest call. data is not fully converted into json and partially data is converted into json.
<json allowJmsType="true" id="json" include="NON_NULL"
library="Jackson" useList="true" />
<get consumes="application/json" uri="/edit?{id}">
<route streamCache="true">
<log loggingLevel="INFO" message="${header.id}" />
<removeHeaders pattern="CamelHttp*" />
<removeHeaders pattern="Content-Length" />
<setHeader headerName="Exchange.HTTP_METHOD"
id="edit_setHeader1">
<constant>GET</constant>
</setHeader>
<setHeader headerName="Exchange.HTTP_QUERY">
<simple>id=1809</simple>
</setHeader>
<to
uri="http4:EDIT_URL?bridgeEndpoint=true&throwExceptionOnFailure=false" />
<log message="Test112 ${body}" />
<convertBodyTo type="java.lang.String" />
<unmarshal ref="json" />
</route>