[jbosstools-issues] [JBoss JIRA] (JBTIS-109) ESB editor removes routes to the same service in ContentBasedRouter destinations
Andrej Podhradsky (JIRA)
jira-events at lists.jboss.org
Thu Jul 25 03:07:26 EDT 2013
[ https://issues.jboss.org/browse/JBTIS-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792837#comment-12792837 ]
Andrej Podhradsky commented on JBTIS-109:
-----------------------------------------
Verified with JBTIS 4.1.0 (which contains ESB 1.5.300.CR1-v20130718-2013-B1183).
But this should be also in JBDSIS 7.0.0 (still contains old ESB 1.5.200.Final-v20130513-1817-B83).
> ESB editor removes routes to the same service in ContentBasedRouter destinations
> --------------------------------------------------------------------------------
>
> Key: JBTIS-109
> URL: https://issues.jboss.org/browse/JBTIS-109
> Project: JBoss Tools Integration Stack
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: ESB
> Environment: JBDS 5, JBDS 6 with ESB Editor 1.3.1
> Reporter: Martin Weiler
> Assignee: Viacheslav Kabanovich
> Fix For: 4.1.0.Beta1
>
> Attachments: JBIDE-14956-3.3.x.patch
>
>
> 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