In weblogic we have a nice feature called Deferring.
Deferring Message Processing Until Completion of Boot Up By default, an MDB starts processing messages as soon as it is deployed, even if its target WebLogic Server instance has not completed booting. This can cause an MDB application to access uninitialized services or applications during the boot process, and to fail. To avoid this problem, set start-mdbs-with-application to false in weblogic-application.xml.
Setting start-mdbs-with-application to false forces MDBs to defer starting until after the server instance opens its listen port, near the end of the server boot up process.
Does JBoss has the same option? Can any one suggest on this?