[
https://issues.jboss.org/browse/JBIDE-8608?page=com.atlassian.jira.plugin...
]
Brian Fitzpatrick updated JBIDE-8608:
-------------------------------------
Assignee: Viacheslav Kabanovich (was: Brian Fitzpatrick)
Fix Version/s: 3.2.1
3.3.0.M1
Hey Slava... This looks like something that should be easy to implement if you get a
chance. Thanks in advance!
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