Details
-
Bug
-
Resolution: Done
-
Major
-
2.8.0-fuse-03-06
-
None
-
None
Description
This is a follow on issue to MR-614.
<camelContext xmlns="http://camel.apache.org/schema/blueprint"> <route> <from uri="jetty:http://0.0.0.0/getSomeData/usingJetty?matchOnUriPrefix=true&bridgeEndpoint=true&enableMultipartFilter=false&disableStreamCache=true&chunked=false" /> <to uri="jetty:http://localhost:8080/SimpleWebApp/getSomeData?bridgeEndpoint=true&throwExceptionOnFailure=false"/> </route> </camelContext>
If chunked encoding is disabled on the from, then camel is to turning the message body into a string. On messages that contain
binary/mime content, this can result in corrupted messages.
Testcase is pretty much same as MR-614 but with chunked attr set as shown above.
Workaround for now is to use the default (chunked=true). This will not exhibit the problem as per MR-614.