[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-8608) ESB Tooling Needs Drools' Object Mapping Property

Brad Davis (JIRA) jira-events at lists.jboss.org
Mon Mar 21 19:38:45 EDT 2011


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: Brian Fitzpatrick


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