Hi,

I am trying to limit the amount of message to 2 per second and drop all
others.
(I don't want to delay, only dropping them, the most recent is the needed
one, but not 
too many)

from("seda:a").throttle(2).timePeriodMillis(1000).to("seda:b")
.process(new Processor() {...System.out.println("OUT");...);

Thanks you for any hints.



--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-drop-messages-using-throttle-tp5727966.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to