File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes Jboss - can we route to actions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss - can we route to actions " Watch "Jboss - can we route to actions " New topic
Author

Jboss - can we route to actions

Tanu Gulati
Ranch Hand

Joined: Oct 06, 2008
Posts: 113

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

thanks
Tanu Gulati
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jboss - can we route to actions
 
Similar Threads
variable in depends?
Not getting bean values inside IE, In firefox working fine
Transaction ManageMent in Spring with Hibernate
problem with action mapping
package javax.ejb does not exist