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.