Author: kasun
Date: Thu Dec 22 10:10:11 2011
New Revision: 1222147

URL: http://svn.apache.org/viewvc?rev=1222147&view=rev
Log:
Fixing Throttle Mediator Samples

Modified:
    
synapse/branches/2.1/repository/conf/sample/resources/policy/throttle_policy.xml
    synapse/branches/2.1/repository/conf/sample/synapse_sample_371.xml

Modified: 
synapse/branches/2.1/repository/conf/sample/resources/policy/throttle_policy.xml
URL: 
http://svn.apache.org/viewvc/synapse/branches/2.1/repository/conf/sample/resources/policy/throttle_policy.xml?rev=1222147&r1=1222146&r2=1222147&view=diff
==============================================================================
--- 
synapse/branches/2.1/repository/conf/sample/resources/policy/throttle_policy.xml
 (original)
+++ 
synapse/branches/2.1/repository/conf/sample/resources/policy/throttle_policy.xml
 Thu Dec 22 10:10:11 2011
@@ -10,7 +10,6 @@
                     <throttle:UnitTime>800000</throttle:UnitTime>
                     <throttle:ProhibitTimePeriod 
wsp:Optional="true">1000</throttle:ProhibitTimePeriod>
                 </wsp:All>
-                <throttle:IsAllow>true</throttle:IsAllow>
             </wsp:ExactlyOne>
         </wsp:All>
         <wsp:All>
@@ -21,7 +20,6 @@
                     <throttle:UnitTime>800000</throttle:UnitTime>
                     <throttle:ProhibitTimePeriod 
wsp:Optional="true">100000</throttle:ProhibitTimePeriod>
                 </wsp:All>
-                <throttle:IsAllow>true</throttle:IsAllow>
             </wsp:ExactlyOne>
         </wsp:All>
         <wsp:All>
@@ -32,7 +30,6 @@
                     <throttle:UnitTime>600000</throttle:UnitTime>
                     <throttle:ProhibitTimePeriod 
wsp:Optional="true"></throttle:ProhibitTimePeriod>
                 </wsp:All>
-                <throttle:IsAllow>true</throttle:IsAllow>
             </wsp:ExactlyOne>
         </wsp:All>
         <wsp:All>
@@ -43,8 +40,7 @@
                     <throttle:UnitTime>500000</throttle:UnitTime>
                     <throttle:ProhibitTimePeriod 
wsp:Optional="true"></throttle:ProhibitTimePeriod>
                 </wsp:All>
-                <throttle:IsAllow>true</throttle:IsAllow>
             </wsp:ExactlyOne>
         </wsp:All>
     </throttle:ThrottleAssertion>
-</wsp:Policy>
\ No newline at end of file
+</wsp:Policy>

Modified: synapse/branches/2.1/repository/conf/sample/synapse_sample_371.xml
URL: 
http://svn.apache.org/viewvc/synapse/branches/2.1/repository/conf/sample/synapse_sample_371.xml?rev=1222147&r1=1222146&r2=1222147&view=diff
==============================================================================
--- synapse/branches/2.1/repository/conf/sample/synapse_sample_371.xml 
(original)
+++ synapse/branches/2.1/repository/conf/sample/synapse_sample_371.xml Thu Dec 
22 10:10:11 2011
@@ -38,7 +38,6 @@
                                         <throttle:ProhibitTimePeriod 
wsp:Optional="true">10000
                                         </throttle:ProhibitTimePeriod>
                                     </wsp:All>
-                                    <throttle:IsAllow>true</throttle:IsAllow>
                                 </wsp:ExactlyOne>
                             </wsp:All>
                             <wsp:All>
@@ -51,7 +50,6 @@
                                         <throttle:ProhibitTimePeriod 
wsp:Optional="true">10
                                         </throttle:ProhibitTimePeriod>
                                     </wsp:All>
-                                    <throttle:IsAllow>true</throttle:IsAllow>
                                 </wsp:ExactlyOne>
                             </wsp:All>
                             <wsp:All>
@@ -62,7 +60,6 @@
                                         
<throttle:UnitTime>600000</throttle:UnitTime>
                                         <throttle:ProhibitTimePeriod 
wsp:Optional="true"/>
                                     </wsp:All>
-                                    <throttle:IsAllow>true</throttle:IsAllow>
                                 </wsp:ExactlyOne>
                             </wsp:All>
                             <wsp:All>
@@ -73,7 +70,6 @@
                                         
<throttle:UnitTime>500000</throttle:UnitTime>
                                         <throttle:ProhibitTimePeriod 
wsp:Optional="true"/>
                                     </wsp:All>
-                                    <throttle:IsAllow>true</throttle:IsAllow>
                                 </wsp:ExactlyOne>
                             </wsp:All>
                         </throttle:ThrottleAssertion>


Reply via email to