[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5627) Create Content Based Router action variants for specific use cases
Burr Sutter (JIRA)
jira-events at lists.jboss.org
Mon Jan 11 15:22:15 EST 2010
[ https://jira.jboss.org/jira/browse/JBIDE-5627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12503479#action_12503479 ]
Burr Sutter commented on JBIDE-5627:
------------------------------------
cbralias drives regex vs xpath vs drools
quickstart fun-cbr from ESB4.7/SOA5 demonstrate most of the options except for the "in-line" regex option which looks like the following:
<action class="org.jboss.soa.esb.actions.ContentBasedRouter" name="MyCBR">
<property name="cbrAlias" value="Regex"/>
<property name="ruleLanguage"/>
<property name="destinations">
<route-to expression=".*blue.*"
service-category="MyServiceCategory" service-name="MyServiceA"/>
<route-to expression=".*red.*"
service-category="MyServiceCategory" service-name="MyServiceB"/>
</property>
</action>
where the expression contains a regex (instead of a XPath). you can also have an external regex file like is shown in the fun-cbr quickstart.
Drools XPath (also shown in fun-cbr) is where a DRL and a DSL file are used, the domain specific language in this case allows Drools to apply XPath expressions.
> Create Content Based Router action variants for specific use cases
> ------------------------------------------------------------------
>
> Key: JBIDE-5627
> URL: https://jira.jboss.org/jira/browse/JBIDE-5627
> Project: Tools (JBoss Tools)
> Issue Type: Sub-task
> Components: esb
> Affects Versions: 3.1.0.M4
> Environment: jbods 3.0 m4
> Reporter: Brian Fitzpatrick
> Assignee: Viacheslav Kabanovich
> Priority: Critical
> Fix For: 3.1.0.CR2
>
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> We're thinking we should possibly provide some different variations of the "Content Based Router..." menu in the ESB editor like this:
> • Content Based Router (Drools)...
> • Content Based Router (Drools XPath)...
> • Content Based Router (Generic)...
> • Content Based Router (XPath)...
> • Content Based Router (Regex)...
> What do you think Slava?
> Here's some documentation:
> XPathRouter: http://www.redhat.com/docs/en-US/JBoss_SOA_Platform/5.0.0-Beta1/html-single/Services_Guide/index.html#id558140
> RegexRouter: http://www.redhat.com/docs/en-US/JBoss_SOA_Platform/5.0.0-Beta1/html-single/Services_Guide/index.html#id578871
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list