On 6/21/07, keneida <[EMAIL PROTECTED]> wrote:


James.Strachan wrote:
>
> On 6/20/07, keneida <[EMAIL PROTECTED]> 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 =
[EMAIL PROTECTED], 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/

Reply via email to