Hi,

I've encountered this previously, and in my case the exception is caused by sending a large string data as a property of a MapMessage or as an ObjectMessage. When AMQ serializes these data, it uses DataOutputStream.writeUTF which is limited to 65535 characters only. To send really large text data, I'd recommend using TextMessage which can handle GB of characters. Though I don't know if this is the case for you. :)

Regards,
Adrian Co

malukalu wrote:
no suggestions?
--
View this message in context: 
http://www.nabble.com/javax.jms.JMSException%3A-Failed-to-compress-message-payload-t1812666.html#a4944161
Sent from the ActiveMQ - User forum at Nabble.com.


Reply via email to