[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: re: Feedback requested on throttling ejb calls
ScottMarlowNovell
do-not-reply at jboss.com
Thu Nov 8 14:25:29 EST 2007
Would this work? Have a SemaphoreAspectFactory instance for each named semaphore definition and create the semaphoreAspect from the factory.
Something like:
| <aspect name="ThrottleReadMostlyAspect" factory="org.jboss.aspects.concurrent.SemaphoreAspectFactory" scope="PER_JVM">
| <attribute name="permits">48</attribute>
| </aspect>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103051#4103051
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103051
More information about the jboss-dev-forums
mailing list