]
Tom Cunningham commented on JBIDE-9217:
---------------------------------------
What Slava suggested above sounds correct to me.
FunCBRRules Method for XPath Broken in Tooling
----------------------------------------------
Key: JBIDE-9217
URL:
https://issues.jboss.org/browse/JBIDE-9217
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: esb
Affects Versions: 3.2.0.Final
Reporter: Brian Fitzpatrick
Assignee: Viacheslav Kabanovich
Priority: Critical
Fix For: 3.2.1.CR2, 3.3.0.M3
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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: