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 ?
Retrieving data ...