activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From keneida <kene...@o2.pl>
Subject Re: reading message size using queue browser
Date Thu, 21 Jun 2007 10:11:47 GMT



James.Strachan wrote:
> 
> On 6/21/07, keneida <keneida@o2.pl> wrote:
>>
>>
>> James.Strachan wrote:
>> >
>> > On 6/20/07, keneida <keneida@o2.pl> wrote:
>> >>
>> >> using queue browser i can see all the parameters of the messages.
>> However
>> >> doesnt matter what I send the "size" parameter is always 0.
>> >
>> > What "size" parameter?
>> >
>> > --
>> > James
>> > -------
>> > http://macstrac.blogspot.com/
>> >
>> >
>>
>> Message: ActiveMQObjectMessage {commandId = 5, responseRequired = true,
>> messageId = ID:sylwester-37042-1182332902493-1:2:1:1:1,
>> originalDestination
>> = null, originalTransactionId = null, producerId =
>> ID:sylwester-37042-1182332902493-1:2:1:1, destination =
>> queue://ReportsQueue, transactionId = null, expiration = 0, timestamp =
>> 1182332903147, arrival = 0, correlationId = null, replyTo = null,
>> persistent
>> = true, type = null, priority = 4, groupID = null, groupSequence = 0,
>> targetConsumerId = null, compressed = false, userID = null, content =
>> org.apache.activemq.util.ByteSequence@124bbbf, marshalledProperties =
>> null,
>> dataStructure = null, redeliveryCounter = 0,
>> size = 0,
>> properties = null, readOnlyProperties = true, readOnlyBody = true,
>> droppable
>> = false}
> 
> Note that getSize() on a message is an internal detail used for flow
> control; its not really intended for end users. Try looking at the
> body of the message instead.
> 
> BTW what version are you using?
> 
> 
> -- 
> James
> -------
> http://macstrac.blogspot.com/
> 
> 
It is 4.1.1, unfortunately I did not get permission to use 4.2 in the
production environment
-- 
View this message in context: http://www.nabble.com/reading-message-size-using-queue-browser-tf3951562s2354.html#a11230133
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message