Commits

Ruwan Linton committed 780cb60

Fixes for the issue found by Amila in the RC1

  • Participants
  • Parent commits 5184d72
  • Branches 2.2

Comments (0)

Files changed (4)

File resources/samples/conf/ultra-sample-608.xml

 <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:u="http://www.adroitlogic.org/ultraesb"
-       xmlns:s="http://www.springframework.org/schema/security"
        xsi:schemaLocation="
 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
-http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.1.xsd
 http://www.adroitlogic.org/ultraesb http://schemas.ultraesb.org/ultraesb-2.0.xsd">
 
     <bean id="ultra-config" class="org.adroitlogic.ultraesb.core.ConfigurationImpl">
 
             <u:outSequence>
                 <u:java><![CDATA[
-                        String customer = mediation.getXMLSupport().extractAsStringUsingXPath(msg, "customer/first-name", null);
+                        String customer = mediation.getXMLSupport().extractAsStringUsingXPath(msg, "customer/first-name");
                         if ("Amindri".equals(customer)) {
                             mediation.getMetricsSupport().increment(customer);
                         } else if ("Sunil".equals(customer)) {
 
     <u:sequence id="genericSequence">
         <u:java><![CDATA[
-                String bank = mediation.getXMLSupport().extractAsStringUsingXPath(msg, "customer/bank", null);
+                String bank = mediation.getXMLSupport().extractAsStringUsingXPath(msg, "customer/bank");
                 if ("commercial".equals(bank)) {
                     mediation.getMetricsSupport().incrementForProxy(bank);
                 } else if ("seylan".equals(bank)) {
                     mediation.getMetricsSupport().incrementForProxy(bank);
                 }
 
-                String account = mediation.getXMLSupport().extractAsStringUsingXPath(msg, "customer/account", null);
+                String account = mediation.getXMLSupport().extractAsStringUsingXPath(msg, "customer/account");
                 if ("platinum".equals(account)) {
                     mediation.getMetricsSupport().incrementForSequence(account);
                 } else if ("gold".equals(account)) {

File resources/samples/conf/ultra-sample-803.xml

     </bean>
 
     <bean id="throttle" class="org.adroitlogic.ultraesb.core.mediation.throttle.RebalancingFrequencyThrottle" depends-on="cluster-manager">
-        <property name="clusterManagXer" ref="cluster-manager"/>
+        <property name="clusterManager" ref="cluster-manager"/>
         <property name="rebalanceDelay" value="10000"/>
         <property name="initialNodeCount" value="2"/>
         <property name="clusterLockTTL" value="60000"/>

File resources/samples/conf/ultra-sample-900.xml

 <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:u="http://www.adroitlogic.org/ultraesb"
-       xmlns:s="http://www.springframework.org/schema/security"
 xsi:schemaLocation="
 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
-http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.1.xsd
 http://www.adroitlogic.org/ultraesb http://schemas.ultraesb.org/ultraesb-2.0.xsd">
 
     <bean id="ultra-config" class="org.adroitlogic.ultraesb.core.ConfigurationImpl">
         <u:target inDestination="RealService">
             <u:inSequence>
                 <u:java><![CDATA[
-                    mediation.getXMLSupport().transform(msg, "samples/resources/perf/transform_env_reverse.xslt", null, null);
+                    mediation.getXMLSupport().transform(msg, "samples/resources/perf/transform_env_reverse.xslt", null);
                 ]]></u:java>
             </u:inSequence>
             <u:outSequence>
                 <u:java><![CDATA[
-                    mediation.getXMLSupport().transform(msg, "samples/resources/perf/transform_env.xslt", null, null);
+                    mediation.getXMLSupport().transform(msg, "samples/resources/perf/transform_env.xslt", null);
                 ]]></u:java>
             </u:outSequence>
             <u:outDestination>

File resources/samples/conf/ultra-sample-950.xml

         <property name="environment">
             <bean class="org.adroitlogic.ultraesb.api.Environment">
                 <constructor-arg name="name" value="prod"/>
+                <property name="deploymentUnitsEnabled" value="false"/>
             </bean>
         </property>
     </bean>