[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: re: Feedback requested on throttling ejb calls

kabir.khan@jboss.com do-not-reply at jboss.com
Thu Nov 8 14:55:12 EST 2007


The Semaphore aspect could perhaps be configured with the list of group names and number of permits per group. Then when encountering a annotated joinpoint, get the group id from the annotation and use the correct semaphore for that. 

The aspect could be configured via an attribute, or by using XMLLoadable. One problem with this though is that you would have to redeploy the whole aspect to be able to reconfigure it.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103074#4103074

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103074



More information about the jboss-dev-forums mailing list