JBoss Community

Re: Set "maxSession" of an MDB using XML instead of Annotations

created by jaikiran pai in EJB3 - View the full discussion

Hushen Savani wrote:

it says that, in order the changes to be reflected, you need to set the maxSession parameter either on the resource adapter itself or via an an Activation Config Property on the MDB itself.

 

See this example on how you can set it as an activation config property in ejb-jar.xml http://docs.jboss.org/ejb3/docs/tutorial/1.0.7/html/Message_Driven_Beans_with_deployment_descriptor.html

Reply to this message by going to Community

Start a new discussion in EJB3 at Community