activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eklas <klas.eriks...@netgiro.com>
Subject ActiveMQMapMessage, DataOutputStream and UTFDataFormatException
Date Wed, 30 Aug 2006 06:29:59 GMT

Hi

Why is the ActiveMQ MapMessage using the java.io.DataOutputStream
that has a 64 k bytes limitation on string properties?

Caused by: java.io.UTFDataFormatException: encoded string too long: 100026
bytes
 at java.io.DataOutputStream.writeUTF(DataOutputStream.java:347)
 at java.io.DataOutputStream.writeUTF(DataOutputStream.java:306)
 at
org.apache.activemq.util.MarshallingSupport.marshalPrimitive(MarshallingSupport.java:125)
 at
org.apache.activemq.util.MarshallingSupport.marshalPrimitiveMap(MarshallingSupport.java:59)
 at
org.apache.activemq.command.ActiveMQMapMessage.storeContent(ActiveMQMapMessage.java:114)


-- 
View this message in context: http://www.nabble.com/ActiveMQMapMessage%2C-DataOutputStream-and-UTFDataFormatException-tf2188017.html#a6053175
Sent from the ActiveMQ - User forum at Nabble.com.


Mime
View raw message