Using Spring cloud Stream, message is being sent as an attachment instead of content
hello, i am using org.springframework.cloud.stream.function.StreamBridge to send the message to a solace topic. Using the mime type as "text/plan". The message is being sent to queue. But as an attachment. The content size is zero bytes, but the attachment size is same as the message size I sent.
I couldn't find any documentation to enforce the message as content.
due to the subscribers aren't receiving any messages.
Any suggestions ?
i am using spring cloud stream framework with spring boot.