[jboss-user] [EJB/JBoss] - How to prevent MDB container starting at app server start
do-not-reply at jboss.com
Fri Feb 29 20:52:48 EST 2008
I'm running JBoss 4.2.2. I have an MDB that I want to control programmatically. Specifically I do not want the MDB to start automatically when the application server starts up, but instead start it programmatically.
I can think of a few different strategies by which this might be accomplished, but I'm not sure if these are possible or how to do about it.
1) Do not deploy the MDB via annotations or xml descriptor, but rather through some programmatic API.
2) Allow the MDBContainer to be created but prevent it from starting, it can then be started via the MBean.
3) Set the pool size to 0 and then increase it programmatically.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133401#4133401
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133401
More information about the jboss-user