If you add the JMS queue to the xml configuration it should start befor the ear is deployed.
Thanks for reply.....
I have done below entry in hornetq-jms.xml
But this queue is deployed after the 2 EAR are deployed.......
How to deploy it befor EAR deployed......???
Sounds like a bug for me, but as this version is out of date there is no chance to get that fixed here.
What you might do is move the EAR to deploy-last, I suppose this will still work in AS6.
This directory is picked up after the deploy directory is complete deployed