With messages with String properties of length > 65535 I get a UTFDataFormatException (stack trace below).
 
java.io.UTFDataFormatException
        at java.io.DataOutputStream.writeUTF(DataOutputStream.java:348)
        at java.io.DataOutputStream.writeUTF(DataOutputStream.java:306)
        at com.swiftmq.jms.MessageImpl.writeContent(MessageImpl.java:287)
        at com.swiftmq.jms.SessionImpl.storeTransactedMessage(SessionImpl.java:109)
        at com.swiftmq.jms.MessageProducerImpl.processSend(MessageProducerImpl.java:124)
        at com.swiftmq.jms.QueueSenderImpl.send(QueueSenderImpl.java:69)
 
I am running on the Sun 1.3.0-C JVM and can serialize Strings >> 65K with no troubles.
 
It would appear that the String is being placed directly into the DataOutputStream where there is the 64K limit instead of it being dealt with at the layer above and added to the DataOutputStream in sections.
 
Matt Seaborn
Software Engineer
Categoric Software

The leader in enterprise event management and alerting technology

+44 (0)1372 368800 tel
+44 (0)1372 368801 fax
+44 (0)1372 368807 direct
http://www.categoric.com

 

------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to 
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers 
Archive: http://www.mail-archive.com/developers@mail.iit.de/



Reply via email to