Current StompSession send message seems to support sending TextMessage, but does not support BinaryMessage format. Wrapping the message as a TextMessage does not seem to solve the purpose. ByteArray needs to be supported as per Stomp which would then be sent as Binary message.
Comment From: rstoyanchev
Currently we send text WebSocket messages as STOMP is a text protocol. We could add support for sending and receiving binary messages either on demand (depending on the payload content-type) or by default for all messages, but this depends also on whether the remote end supports the same. Are you doing this from the client or server side, and does the library on the remote end support use of binary WebSocket messages?
Comment From: spring-projects-issues
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Comment From: spring-projects-issues
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.