activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: Message Priority In 5.5.0-fuse-00-43
Date Tue, 26 Jul 2011 17:37:32 GMT
if you have concurrent producers and consumers, then the prefetch has
an effect as a consumer will get a batch of messages which will get
delivered with relative priority.. but there may be others with higher
priority arriving on the broker.
Use prefetch=1|0 to circumvent that.

On 26 July 2011 18:18, urciolo <Kevin.Urciolo@ngc.com> wrote:
> I am testing out message priority in 5.5.0-fuse-00-43.
>
> I have prioritization enabled, and a maxPageSize of 5000.  When I consume
> 230 messages with priorities 0-9, almost all of them are consumed in the
> correct priority.  However, the last 20 or so seem to start the priority
> consumption over again.  I thought increasing the maxPageSize would fix this
> problem.  However, it does not seem to make a difference.  Is this the
> expected behavior?
>
> Attached is a text file showing the consumption of messages.  The payload
> output is the priority number.  You can see at the end how the priorities
> start over again.
>
>
> http://activemq.2283324.n4.nabble.com/file/n3696416/test2.txt test2.txt
>
>
> http://activemq.2283324.n4.nabble.com/file/n3696416/attributes.jpg
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Message-Priority-In-5-5-0-fuse-00-43-tp3696416p3696416.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
http://fusesource.com
http://blog.garytully.com

Mime
View raw message