[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-users
Subject:    Re: Is ActiveMQQueue really a Queue?
From:       Bruce Snyder <bruce.snyder () gmail ! com>
Date:       2009-09-26 13:44:25
Message-ID: 7b3355cb0909260644h69b3d1eege4ec41e7cb9988a2 () mail ! gmail ! com
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic