[jbosstools-issues] [JBoss JIRA] (JBIDE-14956) ESB editor removes routes to the same service in ContentBasedRouter destinations

Martin Weiler (JIRA) jira-events at lists.jboss.org
Fri Jun 21 07:05:20 EDT 2013


Martin Weiler created JBIDE-14956:
-------------------------------------

             Summary: ESB editor removes routes to the same service in ContentBasedRouter destinations
                 Key: JBIDE-14956
                 URL: https://issues.jboss.org/browse/JBIDE-14956
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: esb
    Affects Versions: 3.3.3.Final-SOA
         Environment: JBDS 5, JBDS 6 with ESB Editor 1.3.1 
            Reporter: Martin Weiler


When I open the following jboss-esb.xml with the ESB editor:
{code}
    <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>
{code}

and I modify something else this gets corrupted into:

{code}
    <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>
{code}

This lines disappears after switching ESB view XML / or saving:
{code}
      <route-to destination-name="ALL-2"
       service-category="Trade OTC" service-name="FTP Service"/>
{code}

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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list