On Mon, Oct 19, 2009 at 8:04 PM, Christian Schneider
<[email protected]> wrote:
> I would like to configure a jms endpoint so it will consume messages by
> their priority.
> For example it should first consume all messages with priority 0 before it
> consumes the first message with priority 1.
>
> Is this possible and if yes how do I configure it?
>

Ask at the AMQ forum as its a JMS question how or if that is possible.

The solution I can think off is using SQL selectors.

And maybe use a scheduled polling approach where you can use the
consumer template to try select messages with the lowest priority and
drain the queue and then go on with +1 priority.


> Greetings
>
> Christian
>
> --
>
> Christian Schneider
> ---
> http://www.liquid-reality.de
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to