Hi,
This is a cross post of
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101466
I posted on the EJB design forum about having a way to throttle ejb method invocations and
Scott suggested creating an aop throttling aspect (like the asynch.* scheme).
The throttle is backed by a java.util.concurrent.Semaphore that would allow a configured
number of concurrent thread requests (really semaphore permits under the covers) to
proceed through the aspect.
I have this working with JBoss 4.x at the pooledInvoker level (no aspects involved) but
would like to bring it into JBoss 5.x.
What do you think about the idea of having a throttling aspect?
Scott
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101471#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...