activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noel OConnor <noel.ocon...@gmail.com>
Subject Re: How to force a queue respect the priorities of the messages without considering the message registration time?
Date Wed, 20 Aug 2014 23:07:02 GMT
I wonder if the queue prefetch is buffering the messages. Try reducing
the prefetch size to 0.

On Thu, Aug 21, 2014 at 4:23 AM, nolaez <nurycelina_s18@hotmail.com> wrote:
> Hello, I am noob in ActiveMQ and I have a question, I would like to know, How
> to force a queue respect the priorities of the messages without considering
> the message registration time ?. I tried with the "prioritizedMessages"
> property in true, but does not respect the priority, also I read the
> information from these links:
> http://camel.apache.org/jms and
> http://activemq.apache.org/per-destination-policies.html
>
> And not working the properties I need, can anyone help me please?
>
> I need that the queue does the following, when I insert a high priority
> message, at the moment of consume the message, be the first send me, without
> considering any other messages that are already registered in the queue.
>
> I am using the java programming language and Apache ActiveMQ 5.8 for
> testing.
>
> Greeting.
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/How-to-force-a-queue-respect-the-priorities-of-the-messages-without-considering-the-message-registra-tp4684819.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message