activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Davies <rajdav...@gmail.com>
Subject Re: ActiveMQMapMessage, DataOutputStream and UTFDataFormatException
Date Wed, 30 Aug 2006 07:29:38 GMT
which version of ActiveMQ are you using? This restriction was  
recently removed - perhaps you can try a snapshot release ?
e.g. http://people.apache.org/maven-snapshot-repository/org/apache/ 
activemq/apache-activemq/

On 30 Aug 2006, at 07:29, eklas wrote:

>
> 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