This content has been marked as final.
Show 2 replies
-
1. Re: Simple action routing without Drools?
richard.qin May 24, 2010 4:48 AM (in response to tachoknight)you need to use staticRouter to enable the simple routing in your senario. for more info about staticRouter, please reference the following link http://www.redhat.com/docs/en-US/JBoss_SOA_Platform/4.3.GA/html/Programmers_Guide/ch11s05.html
-
2. Re: Simple action routing without Drools?
davesiracusa May 24, 2010 8:11 AM (in response to tachoknight)You can also do it from a java-based custom action.
.. code to set (routeCategory, serviceName), set them to a service defined in:
// jboss-esb.xml
//<services>
// <service category="myCat" description="a description" name="RequestAllowed">
// ...
// <service category="myCat" description="a description" name="RequestDenied">
// ...
ServiceInvoker serviceInvoker = new ServiceInvoker(routeCategory, serviceName);
serviceInvoker.deliverAsync(message);