Thanks Rob!!

So, if I wanted to send a bigger TextMessage, what could I do? Is there any
way to increase that size? Should I use, for example, a BlobMessage or
something like that? Which are the limits of each type of message?

Thanks again!!!!

Marta :-)


rajdavies wrote:
> 
> OpenWire supports up to a theoretical  2GB limit for a TextMessage
> 
> cheers,
> 
> Rob
> 
> 
> On 12 Jun 2008, at 10:34, marta_rn wrote:
> 
>>
>> Hello all,
>>
>> I would like to know which is the maximum length of a TextMessage.  
>> Is there
>> a limit?
>>
>> Thanks in advance,
>>
>> Marta
>>
>>
>> rajdavies wrote:
>>>
>>>
>>> On 17 Apr 2008, at 22:08, Rukus520 wrote:
>>>
>>>>
>>>> Hi,
>>>>
>>>> Let's say I'm sending data in the form of xml. The data being sent
>>>> is big
>>>> but certainly not large enough to warrant the use of BlobMessages.
>>>>
>>>> Which of the following approaches would be better for performance,
>>>> and why:
>>>> - Send the xml as TextMessages.
>>>> - Convert the xml to bytes, and then send the bytes as ByteMessages.
>>>>
>>>> Perhaps my underlying question is, "Does ActiveMQ's implementation  
>>>> of
>>>> TextMessages optimize the transmission of TextMessages by
>>>> compressing the
>>>> content somehow?"
>>>>
>>>>
>>>> Thanks in advance! Thank you Rob for the quick reply last time too!
>>>> -- 
>>>> View this message in context:
>>>> http://www.nabble.com/TextMessage-vs-ByteMessage-tp16755490s2354p16755490.html
>>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>>
>>>
>>>
>>> I'd use TextMessage - ActiveMQ converts the text into a binary format
>>> to transfer on-the-wire anyway
>>> If you'd like compression to be used - you need to enable the
>>> useCompression property on your ActiveMQConnectionFactory
>>>
>>>
>>> cheers,
>>>
>>> Rob
>>>
>>> http://open.iona.com/ -Enterprise Open Integration
>>> http://rajdavies.blogspot.com/
>>>
>>>
>>>
>>>
>>>
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/TextMessage-vs-ByteMessage-vs-StreamMessage-tp16755490p17796035.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/TextMessage-vs-ByteMessage-vs-StreamMessage-tp16755490p17796419.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to