• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

jms-providers in JBoss ESB

 
Chicken Farmer ()
Posts: 1932
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

Jason
 
reply
    Bookmark Topic Watch Topic
  • New Topic