activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce Snyder <bruce.sny...@gmail.com>
Subject Re: Is ActiveMQQueue really a Queue?
Date Sat, 26 Sep 2009 13:44:25 GMT
On Sat, Sep 26, 2009 at 7:17 AM, itamara <avni.itamar@gmail.com> wrote:
>
> hi ActiveMQ users
>
> I'm new to ActiveMQ (bet you never heard that before :-)).
>
> I'm using org.apache.activemq.command.ActiveMQQueue as my destination.
> For debugging purposes I log the events of sending the message and the
> events of MessageListener.onMessage. I find that...
>
> The ActiveMQQueue does not seem to act as a queue - in the "first in, first
> out" sense.
>
> Is that so?
>
> Is it configurable?
>
> Why do I care? Because it looks as some messages can wait in the queue
> forever, can be forgotten there. And though it's not exactly my case, some
> might want a pure FIFO queue implementation.
>
> thanks for any help and clarification.

It sounds like you might want to configure the total ordering option:

http://activemq.apache.org/total-ordering.html

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

ActiveMQ in Action: http://bit.ly/2je6cQ
Blog: http://bruceblog.org/
Twitter: http://twitter.com/brucesnyder

Mime
View raw message