I have standalone application with JBoss MQ. When JBoss is not running i get an error when my application is starting (i load the spring context). Error of course is connected with "Failed connection to JBoss" which is obvious. Is it possible to start an application with not running server provider ? Or one possible way is to separate my xml file to two pieces and load the second piece(jms configuration) later ?