Hi @Aaron , yes i was sending a text message.
I changed that too
BytesMessage message
message=session.createBytesMessage();//(res);
message.writeUTF(res); ``
messageProducer.send(topic,message);
and it worked like a charm. Thanks for the help. But if i send a text message to an actual solace queue in production (basically publishing to topics binded to a queue) , then the broker will publish the data to consumers through REST API, ) that should not be an issue right?