Suppose if MQ is configured with JBoss and in case MQ is down during ESB deployment then the deployment fails. Looks like JBoss is dependent on MQ if MQ is configured.Also In forum [https://community.jboss.org/message/747367#747367
] I read that JBoss assumes that MQ is running during deployment.
My file configuration is similar to this: http://www.ibm.com/developerworks/websphere/library/techarticles/0710_ritchie/0710_ritchie.html
FIX: In case MQ is down then the ESB deployment should happen successfully and during message processing it should through the exception stating that MQ connection fail.
This fix should be similar to, suppose if DB is down, deployment should happen successfully but when it tries to connect DB during processing it should through the exception stating DB connection issue.
Removing the dependencies during deployment of the application.