[jboss-user] [EJB 3.0] New message: "Re: Setting MDB Max Pool Size"

jaikiran pai do-not-reply at jboss.com
Thu Feb 4 04:03:24 EST 2010


User development,

A new message was posted in the thread "Setting MDB Max Pool Size":

http://community.jboss.org/message/524090#524090

Author  : jaikiran pai
Profile : http://community.jboss.org/people/jaikiran

Message:
--------------------------------------------------------------
> farhanhh wrote:
>  
> In the documentation that you have posted:
> http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/reference/1.0.7/html/SessionBean_and_MDB_configuration.html
>  
> The xml configuration for mdb's does not work (mydomain-aop.xml):
> ...
> The work around is to set inheritBindings=false and removing extends="Message Driven Bean". This will apply the correct maxSize value.
>  
> Now shouldn't the default behaviour result in the XML overriding the defaults regardless of inheritBindings? Either the documentation should be updated, or if this indeed is a bug, it should be resolved.
I can see why that would happen with the inheritBindings = true. Although i don't know what's the expected behaviour of AOP, when it comes to overrding the pointcuts. I'll discuss this in the AOP forums. In either case, as you mention, it's either a bug in AOP or in the documentation.
 
By the way, do *not* remove the extends = "Message Driven Bean". Doing that will remove all the MDB semantics from the bean.

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/524090#524090




More information about the jboss-user mailing list