Thank you. writeUTF8 is limited, wryteBytes no.

Thank you very much.


Gary Tully wrote:
> 
> there is no hard limit on the transport, but utf is limited to what
> can fit in a short. can u use writeBytes?
> 
> On 7 July 2010 16:13, RJtokenlanring <ing.marco.colo...@gmail.com> wrote:
>>
>> My question is related to this error:
>>
>> javax.jms.JMSException: encoded string too long: 67546 bytes
>>        at
>> org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:62)
>>        at
>> org.apache.activemq.command.ActiveMQBytesMessage.writeUTF(ActiveMQBytesMessage.java:672)
>>
>> And it seems this bug:
>>
>> http://issues.apache.org/activemq/browse/AMQ-1308
>>
>> BUT I'm using tcp connection
>> (tcp://192.168.100.88:61616?jms.useCompression=true&keepAlive=true)
>>
>> with ActiveMQ 5.3.2
>>
>> It is releated?
>>
>> Thank you.
>>
>>
>> RJtokenlanring wrote:
>>>
>>> Hi,
>>> I canno find any information about ByteMessage max size (supported
>>> during
>>> transport).
>>> Anyone knows this value?
>>>
>>> Thank you
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/ByteMessage-MAX-size-tp29097071p29097496.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> http://blog.garytully.com
> 
> Open Source Integration
> http://fusesource.com
> 
> 

-- 
View this message in context: 
http://old.nabble.com/ByteMessage-MAX-size-tp29097071p29161445.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to