Hi Frank,

If you use ActiveMQ as broker, it supports "consumer priority -
http://activemq.apache.org/consumer-priority.html/http://activemq.apache.org/how-can-i-support-priority-queues.html";
and will reorder the messages in the dispatch queue of the client based on
the JMSPriority value which is set by the different producers.

Regards,



On Sun, Aug 10, 2014 at 12:01 PM, moorsel <[email protected]>
wrote:

> New to Camel and I would like to know how to solve this: i've got multiple
> client producing messages to a queue. The consumer that has to process the
> messages from the queue has to serve the producers based a priority list
> which is not fixed but could change dynamically (so now it could be that
> producer A has highest prio but a some seconds later it could be that
> producer B has highest prio). Prios are set manually through a GUI and
> stored in a DB.
>
> I thought to use the resequenser EIP for this purpose but I am not sure if
> the dynamic nature of my prioritizing schema fits with the design of the
> resequenser. Is the resequenced suitable for such a prioritizing scheme?
> (in
> conjunction with a custom bean reading the current prio form the DB).
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Dynamic-prioritizing-of-messages-tp5754989.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Charles Moulliard
Apache Committer / Architect @RedHat
Twitter : @cmoulliard | Blog :  http://cmoulliard.github.io

Reply via email to