You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Fredrik Jonson <fr...@myrealbox.com> on 2009/09/27 11:31:51 UTC

Re: Is ActiveMQQueue really a strict FIFO queue?

Bruce Snyder wrote:
> itamara wrote:
>
> > The ActiveMQQueue does not seem to act as a queue - in the "first in, 
> > first out" sense.
> 
>  It sounds like you might want to configure total ordering.
>  http://activemq.apache.org/total-ordering.html

Itamara mentions only queues and not topics. Does activemq really enforce a
strict order of message consumption on queues too?

http://activemq.apache.org/per-destination-policies.html

According to that document it sounds like multiple queue consumers may
behave in as a strict FIFO queue when the prefetch limit is set to 1? Which
by the sound of it would also makes the consumption serial, and perhaps not
much faster than only having a single consumer anyway?

Itamara, do observe the difference between queues and topics and that it
normally is the broker configuration that controls the behaviour of the
physical queue, not the ActivemMQQueue java class.

http://activemq.apache.org/how-does-a-queue-compare-to-a-topic.html

-- 
Fredrik Jonson


Re: Is ActiveMQQueue really a strict FIFO queue?

Posted by itamara <av...@gmail.com>.
The first step of solving a problem is asking the right question.

(or is it acknowledging it, and the right question is only the second?
:confused:)

I was looking for something else. Thanks a lot for all the repliers. Your
help did not go unappreciated.

Please bare with me to the following thread: 
http://www.nabble.com/Maintaining-Message-Uniqueness-in-a-Queue-td25660461.html
Maintaining Message Uniqueness in a Queue .

Thanks.
-- 
View this message in context: http://www.nabble.com/Is-ActiveMQQueue-really-a-Queue--tp25625177p25660661.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.