May 22nd, 2008, 05:24 PM
How to get around "Encoded string too long"
I had problem with response times when I do (ActiveMQ 4.0.1) JMS remoting via SSL (see "Quick on tcp but slow on ssl" thread) so I changed tack and used JMS remoting via HTTPS. With no fuss at all, it worked. No problem except (there's always a "but" somewhere) the 65k limitation on "string" messages.
Some forums say that this limitation does not exist anymore. I tried it on ActiveMQ 5.1.0 and it is still there.
One ActiveMQ forum (nabble.com) which I posted this 65k question kindly responded with "The body of a TextMessage supports big strings." Does this mean the problem lies in how I configure Spring JMS remoting? Is there a switch or option that could be set to be able to use big strings?