This implementation supports two scopes {@link ThrottlingScope#Context} and {@link ThrottlingScope#Route} (is default).If context scope is selected then this implementation will use a {@link org.apache.camel.spi.EventNotifier} to listenfor events when {@link Exchange}s is done, and trigger the {@link #throttle(org.apache.camel.Route,org.apache.camel.Exchange)}method. If the route scope is selected then no {@link org.apache.camel.spi.EventNotifier} is in use, as there is alreadya {@link org.apache.camel.spi.Synchronization} callback on the current {@link Exchange} which triggers the{@link #throttle(org.apache.camel.Route,org.apache.camel.Exchange)} when the current {@link Exchange} is done. @version
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|