activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <>
Subject Re: Queue depth questions
Date Sun, 08 Mar 2015 13:22:19 GMT
There is no queuing on the producer.  This can lead to inefficiency if the
path from producer to broker crosses a high-latency network link.

There is queuing on the consumer.  Read up on prefetch (, for
starters) for more info.

Any messages not dispatched to a consumer are stored on the broker.  This
is where you could discard one message in favor of another.  Look at the
info about the Constant Pending Message Strategy on for details of what
it can do for you.
On Mar 6, 2015 9:02 AM, "joseph.gagnon" <> wrote:

> When messages are transmitted via ActiveMQ presumably there is some form of
> queuing (pun definitely intended) of messages behind the scenes to provide
> the greatest likelihood that messages will make it to their destinations
> (the degree of which is controlled by various configuration settings).  I
> assume that this is true regardless of whether the destination is a queue
> or
> topic.  I am using topics to enforce the publisher/subscriber paradigm.
> My questions are:
> - Is there queuing on the publisher (writer) side?
> - Is there queuing on the subscriber (reader) side?  I assume the answer
> here is yes.
> - Is there a way to configure (via the config file or programmatically at
> run-time), the depth(s) of these queues?  If so, how and what are the
> details of what can be configured?
> - Is it possible to implement a policy that forces the "oldest" entry off
> the queue so that newer entries can be enqueued?
> Thank you.
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message