Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9217

FunCBRRules Method for XPath Broken in Tooling

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Critical
    • 3.2.1.CR2, 3.3.0.M3
    • 3.2.0.Final
    • esb
    • None
    • Hide

      Create the following action in an action pipeline via the Source view.

      <action class="org.jboss.soa.esb.actions.ContentBasedRouter" name="validateAndRoute">
      <property name="cbrAlias" value="XPath"/>
      <property name="destinations">
      <namespace prefix="m" uri="http://amentra.com/mentoring" />
      <route-to expression="//m:id > '0'"
      service-category="student-esb-services" service-name="AsyncSetAdvisorGraduateStudentService"/>
      </property>
      </action>

      Browse to the Tree view, and add an action after validateAndRoute.
      Save the jboss-esb.xml
      Browse to the Source view.
      Note that the namespace tag within the destinations has been removed.

      Show
      Create the following action in an action pipeline via the Source view. <action class="org.jboss.soa.esb.actions.ContentBasedRouter" name="validateAndRoute"> <property name="cbrAlias" value="XPath"/> <property name="destinations"> <namespace prefix="m" uri="http://amentra.com/mentoring" /> <route-to expression="//m:id > '0'" service-category="student-esb-services" service-name="AsyncSetAdvisorGraduateStudentService"/> </property> </action> Browse to the Tree view, and add an action after validateAndRoute. Save the jboss-esb.xml Browse to the Source view. Note that the namespace tag within the destinations has been removed.

    Description

      Hey Slava - if you have time, can you look into this for the ESB editor in the 3.2.x branch and trunk?

      (from SOA-2747)

      When adding an ContentBasedRouter with the following configuration in JBoss Developer Studio, switching between Tree and Source view will remove the namespace tag.

      <action class="org.jboss.soa.esb.actions.ContentBasedRouter" name="validateAndRoute">
      <property name="cbrAlias" value="XPath"/>
      <property name="destinations">
      <namespace prefix="m" uri="http://amentra.com/mentoring" />
      <route-to expression="//m:id > '0'"
      service-category="student-esb-services" service-name="AsyncSetAdvisorGraduateStudentService"/>
      </property>
      </action>

      This results in the following after toggling and adding another action.

      <action class="org.jboss.soa.esb.actions.ContentBasedRouter" name="validateAndRoute">
      <property name="cbrAlias" value="XPath"/>
      <property name="ruleLanguage"/>
      <property name="destinations">
      <route-to expression="//m:id > '0'"
      service-category="student-esb-services" service-name="AsyncSetAdvisorGraduateStudentService"/>
      </property>
      </action>

      Note that the namespace tag under property "destinations" has been removed by the tooling.

      Attachments

        Activity

          People

            scabanovich Viacheslav Kabanovich (Inactive)
            bfitzpat_rh Brian Fitzpatrick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: