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

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Fri Jun 21 15:46:21 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-14956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783736#comment-12783736 ] 

Max Rydahl Andersen commented on JBIDE-14956:
---------------------------------------------

Just a warning: I can see pullrequest is made against github - if this needs fixing in 3.3.x it should be fixed in svn too.

                
> 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
>            Assignee: Viacheslav Kabanovich
>
> 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