Project: springxd
Issue XD-614: Conversion Enhancements
Content-Type during transport transit is not the same as the content-type within modules. "Real" transports always use byte[] which may contain raw byte[] from a source, a byte[] converted from a String (which may or may not already contain JSON), or a byte[] containing JSON converted by the transport on the outbound side. The transport needs to convey which of these was applied on the outbound side so it can properly reconstruct the message. Retain any content-type header that already exists in the message, and restore it. For Rabbit, use normal SI/Rabbit headers to convey this information. For Redis, add the information to the byte[].
Story points: 8