Using Spring cloud Stream, message is being sent as an attachment instead of content

We too have an abundance of legacy queues we publish to which are consuming the XML Content portion of the message. Interestingly, Spring Cloud Stream has no problem to read an incoming message with legacy XML Content. A hybrid app which sends messages using JmsTemplate with connection factory prop text-msg-xml-payload=true and receives messages using Spring Cloud Stream seems to work fine. Will eagerly await the day I can do some magic configuration in Spring Cloud Stream so outgoing TextMessages can use the legacy XML Content…