Hi,

I understand throttling is applied for per route basis.
My route contains an array of jms queues, and hence it is throttling per
queue basis. But I want throttle for the entire array and not for each
queue.

Is there a way to do so??

Example

from({"sjms:queue:QueueA","sjms:queue:QueueB","sjms:queue:QueueC"}).transacted("jmsRequired").choice().when(this.predicate)
                                
.to("bean:camelDataProcessor?method=predicateFails").otherwise().throttle(2)
                                        .to(ExchangePattern.InOnly,
"bean:camelDataProcessor?method=execute").end();


Now the throttle is throttling per queue basis, but is there a way to
throttle for the entire array list??



Happy Coding 
Sabyasachi



--
View this message in context: 
http://camel.465427.n5.nabble.com/Can-throttling-be-applied-for-all-possible-routes-tp5784140.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to