We're using JBoss ESB 4.9 at work, and it essentially works as a router between different software subsystems. For qual testing, I was asked to create a test tool that acts like an end point to either send or receive messages from a subsystem. The nature of the testing means that not all subsystems will be up while testing. For instance, if in normal operations subsystem A sends messages through the ESB to subsystem B and C, the test tool will need to act like A without A actually being "up".
Without having to have a jboss-esb.xml for all the different possibilities of testing that might be going on, is there a way to configure the ESB so that if a defined jms-provider isn't currently running, the ESB will still load my test.esb package? Currently it will throw connection refused exceptions and the package doesn't initialize. I'm hoping there is some configuration that will either tell the ESB to ignore those or to catch and log/ignore the exceptions. Otherwise, the only way I can tell to do this is each time the testers want to run a test, they'll have to replace jboss-esb.xml with one that has just the jms-providers that will be up at the time, and that's making it a bit more complicated than we initially planned for (because that NEVER happens in the software world).
Any suggestions/help/pointing to docs is greatly appreciated. So far, I have yet to find anything in reading all the sources I have that addresses this.