[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xmlblaster] Problem with GET with <history numEntries='5'>
Giambattista Saldi wrote:
It's my stupid error, i'm new with xmlblaster, i think it's a great product.
Now work fine, but i have this situation :
publish 10 messages
next i do the get command for the last 5 entries
and i get the messages in this order
the get order is not the same of the publish order.
There are any options to get the messages in the correct order, for my
application type the order is important.
in the core code we have a switch for the ordering
but this was never exposed to be changeable by a client QoS.
So you have to stay with this default ordering, in your client
it should be possible to do
for (i=msg.length; i>=0; i--)
for (i=0; i<msg.length; i++)
to reverse the order
PS: The history feature needs a nicer documentation in future ...