Files
spring-cloud-stream/spring-cloud-stream
Marius Bogoevici 4d74212932 Skip deserializePayloadIfNecessary only if originalContentType is not set
Fixes #741

The current code will skip `deserializePayloadIfNecessary` if the
payload is a `byte[]`. There are in fact two conditions that indicate
that a message does not require postprocessing in the binder: that
the payload is not a `byte[]` which indicates that the message has
already been deserialized, and that the `originalContentType` is not
present, or else it'd need to be moved to `contentType`. This fix
adds the secondary condition to the check.
2016-12-18 21:10:34 -05:00
..
2016-12-16 11:55:31 -05:00