We need to find a way to deploy the POJO from HornetQJMSRealDeployer after the HornetQ server is started and before the MDBs are activated
POJO X then needs an explicit dependency on the HornetQ server.
At the same time you then need to add a dependency on X to MDB's dependencies.