Vadim Kopichenko [https://community.jboss.org/people/vkopichenko] created the 
discussion

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

To view the discussion, visit: https://community.jboss.org/message/726025#726025

--------------------------------------------------------------
I've also tried to find a way to externalize the maxSession property out of ear.
But had no success with this solution under JBoss 4.2.3.GA. 
DefaultActivationSpecs were not taken into account.

Extensive googling gave a  https://community.jboss.org/thread/195382 hint to 
alternative solution with using system properties in ejb-jar.xml. It works with 
all versions before JBoss AS 7.
So now I can just update property in deploy/properties-service.xml then touch 
ear to redeploy and new setting gets applied.
No full JBoss restart is needed.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/726025#726025]

Start a new discussion in EJB3 at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to