Prior to this commit, the `ProtobufMessageConverter` used in messaging would try and serialize the message payload by calling "toString()" on it in order to pass it to the Protobuf JSON encoder. While this works for `String` payloads, this fails for `byte[]` types. This commit ensures that such `byte[]` are first converted to `String` instances using the given charset first. Fixes gh-27408 |
||
---|---|---|
.. | ||
java/org/springframework/messaging | ||
kotlin/org/springframework/messaging | ||
proto | ||
resources |