My from bean uses a list of messages queues (between 1-300) to poll data ,
check a condition , throttle and send it to another bean for processing.

The router looks like :-> 

from(this.getQueues()).transacted("jmsRequired").choice()
                                .when(this.predicate)
                                
.to("bean:camelDataProcessor?method=execute").otherwise()
                                
.throttle(7).timePeriodMillis(1000).asyncDelayed()
                        
.to(ExchangePattern.InOnly,"bean:camelDataProcessor?method=execute").end();


The method "getQueues()" in the above router config, retrieves a list of
message queues. I need to know is there a way to prioritize certain queues
over others, so that the round-robin polling will happens in multiple level?

Thanks
Happy Coding 



--
View this message in context: 
http://camel.465427.n5.nabble.com/Is-queue-prioritization-is-possible-if-multiple-queues-are-used-to-poll-tp5781938.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to