SuoNayi
Queue's only keep one copy of any message at any given time, that I
am aware of. What you are seeing the web console are metrics that the
Broker maintains about the Queue. Messages arrive to a Queue the Enqueue
count increments. A Consumer reads a message from the Queue the Dispatch
count increments. The Consumer acknowledges receipt of the message the
Dequeue count increments. These are just numbers that correspond to the
actions that the Broker has taken for a message. Hopefully these help
explain what it is you are seeing.
On 2012-12-23 08:40, SuoNayi wrote:
Hi all,
I just want to make sure what will happen if my consumer uses the
client acknowledge model
but no further explicit acknowledges are made?According to my
observation,when producers are keeping
sending messages to the queue,the dispatched queue size for my
consumer (on the web console)
keeps increasing.
I assume that with the increase of the dispatched queue size, more
and more messages will be
loaded into the dispatched queue for the subscription in the broker
and more memory is taken from the SystemUsage.
When the memory limit is exceed,the dispatch messages to the consumer
will pause for available memory space.
If the memory usage is not handled properly, OOM will be thrown.
Please correct me if I'm wrong.
Thanks,
SuoNayi