2 Replies Latest reply on Apr 11, 2013 7:00 AM by jkreska

    How do you prevent MDB processing until the server is fully intiialized?

    jkreska Newbie

      Boss AS 7.2.0.Alpha1-SNAPSHOT

       

      I have an application (ear) that takes a couple of minutes to initialize, but the MDB gets deployed immediately and starts trying to process messages.

       

      I would like to have the MDB start processing after the application server is fully initialized.

       

      i.e. after this log is emitted

       

      10:23:25,778 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.2.0.Alpha1-SNAPSHOT "Steropes" started in 50638ms - Started 448 of 551 services (102 services are passive or on-demand)