[jboss-user] [EJB 3.0] - Re: EJB3 PoolSize annotation overide

jaikiran do-not-reply at jboss.com
Fri Aug 21 00:04:06 EDT 2009


anonymous wrote : Only if the drop the annotation in the class file the MaxPoolSize defined in cutom-aop.xml file takes effect, but it doesn't override if the annotation is already defined in EJB class file. 

Not sure i understood the question right. But if you are looking for ways to override the value without having to use that annotation within the MDB class, then you actually do not need an aop file to do so. You can set those values through jboss.xml as explained in our tutorials http://www.jboss.org/ejb3/docs/. Specifically, these:
http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.7/html/Message_Driven_Beans_with_deployment_descriptor.html
http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.7/html/Message_Driven_Beans.html



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

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



More information about the jboss-user mailing list