• 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

Jboss - can we route to actions

 
Ranch Hand
Posts: 113
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
i am updating my jboss-esb.xml code for exceptions. I have one exception handler service which as of now handles exception when <CarrierAdminSystem> is blank. now i want to update the service code to route properly so that when <policyNumber> field is blank we should get the error message as well but i do not want to create a new service in jboss-esb.xml

below is the code


if you have notice above I have a class A203ExceptionHandler which is generic one and shows the error message depends on property (in this example "errorMessage203" is it possible to add some kind of condition here so that i can execute the actions based on some conditions i want to execute action A103TransSubTypeException or A203PolicouyNumberException depends on some condition can you please let me know how to do it
 
Space seems cool in the movies, but once you get out there, it is super boring. Now for a fascinating tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic