[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-8608) ESB Tooling Needs Drools' Object Mapping Property
Viacheslav Kabanovich (JIRA)
jira-events at lists.jboss.org
Tue Mar 22 20:25:45 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-8608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Viacheslav Kabanovich resolved JBIDE-8608.
------------------------------------------
Resolution: Done
> ESB Tooling Needs Drools' Object Mapping Property
> -------------------------------------------------
>
> Key: JBIDE-8608
> URL: https://issues.jboss.org/browse/JBIDE-8608
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: esb
> Affects Versions: 3.2.0.CR1
> Reporter: Brad Davis
> Assignee: Viacheslav Kabanovich
> Fix For: 3.2.1, 3.3.0.M1
>
>
> Property "object-paths" needs to be provided in the Drools' content based router.
> Example:
> <action class="org.jboss.soa.esb.actions.ContentBasedRouter" name="cbr-router">
> <property name="cbrAlias" value="Drools"/>
> <property name="ruleSet" value="/META-INF/drools/airport-code.drl"/>
> <property name="ruleLanguage"/>
> <property name="destinations">
> <route-to destination-name="ERROR"
> service-category="com.example.soa" service-name="error-service"/>
> <route-to destination-name="SUCCESS"
> service-category="com.example.soa" service-name="successful-record"/>
> </property>
> <property name="object-paths">
> <object-path esb="body.'org.jboss.soa.esb.message.defaultEntry'" />
> </property>
> </action>
> This currently requires that you jump into XML view to add the required property object-paths. Otherwise, only the Message object is mapped into the rule context. This should be provided in the ContentBasedRouter UI in JBoss Tools if possible.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list