Hi Niels, > I would like to throttle all queries for foo/@id=A12, foo/@id=30 and > foo/@id=A10 separately.
What about the content-base routing followed by the different
throttler definition for each choice path?
from("direct:a")
.choice()
.when(...)
.throttle(3).to("direct:b")
.when(...)
.throttle(30).to("direct:c")
.otherwise()
.to("direct:noThrottle");
Cheers.
--
Henryk Konsek
http://henryk-konsek.blogspot.com
