Skip to end of metadata
Go to start of metadata

The ConcurrencyThrottleInterceptor is a great bit of stuff to limit your use of heavy weight resources.

Use it simply by creating the bean:

Then weaving an aspect

However there is an important thing to note, which may-or-may not be completely obvious... the singleton must be set to false, otherwise you are saying that only a certain number of simultaneous invocations are allowed for all the beans you list, not just for each one individually.

Labels: