Kevin,
Do you have any specific concerns with my proposed "short-cut"? Remove the
destinations when using the XPath/Regex inline.
| <action class="org.jboss.soa.esb.actions.ContentBasedRouter"
name="ContentBasedRouter">
| <property name="cbrClass" value="XPath"/>
| <property name="ruleSet">
| <rule target-service="OrderCategory:BlueService"
expression="/order/header[@cat='blue']" />
| <rule target-category="OrderCategory"
target-service="RedService""
expression="/order/header[@cat='red']" />
| </property>
| </action>
|
We need to pick the right attribute names for the "target-service" and/or
"target-category". I do think this cleans this up a bit for the most simple use
cases.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256733#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...