Uploaded image for project: 'JBoss Tools Integration Stack'
  1. JBoss Tools Integration Stack
  2. JBTIS-109

ESB editor removes routes to the same service in ContentBasedRouter destinations

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.1.0.Final
    • Component/s: ESB
    • Labels:
      None

      Description

      When I open the following jboss-esb.xml with the ESB editor:

          <action class="org.jboss.soa.esb.actions.ContentBasedRouter"
           name="Route" process="process">
           <property name="cbrAlias" value="Xpath"/>
           <property name="ruleSet" value="/rules/route-xpath.properties"/>
           <property name="ruleLanguage"/>
           <property name="ruleReload" value="true"/>
           <property name="destinations">
            <route-to destination-name="ALL-1"
             service-category="Trade OTC" service-name="FTP Service"/>
            <route-to destination-name="ALL-2"
             service-category="Trade OTC" service-name="FTP Service"/>
           </property>
          </action>
      

      and I modify something else this gets corrupted into:

          <action class="org.jboss.soa.esb.actions.ContentBasedRouter"
           name="Route" process="process">
           <property name="cbrAlias" value="Xpath"/>
           <property name="ruleSet" value="/rules/route-xpath.properties"/>
           <property name="ruleLanguage"/>
           <property name="ruleReload" value="true"/>
           <property name="destinations">
            <route-to destination-name="ALL-1"
             service-category="Trade OTC" service-name="FTP Service"/>
           </property>
          </action>
      

      This lines disappears after switching ESB view XML / or saving:

            <route-to destination-name="ALL-2"
             service-category="Trade OTC" service-name="FTP Service"/>
      

      I do need both <route-to> tags to point to the same ESB Service. It works in ESB and I want Developer Studio to handle this properly.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  scabanovich Viacheslav Kabanovich
                  Reporter:
                  mputz Martin Weiler
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: