1 Reply Latest reply on Mar 11, 2015 11:52 AM by jbertram

    MDBs are listening to Hornetq after restarting from jmx-console.

    ankita.itsme

      Hi All,

       

      I am working on the migration from JBoss 4.2 to Jboss 6.1. I have migrated the queues to HornetQ 2.2.

      The consumer count of the queue is zero but when I restart the  MDB from jmx console . I could see the consumer count to 15. After restarting the MDBs are listening to local queues but not at startup.

      This might be because of MDBs are being deployed before Queues and not able to register to the queues.

       

      In other articles , people recommended to @Depends to make sure the MDB are being deployed after Queues are created. How can we make sure in ejb 2 ?

       

      Please help.