Thanks Andreas. Yeah. Axis2 1.6.1 uses neethi 3.0.1 and throttling also uses the same version. This is fixed now.
On Thu, Dec 22, 2011 at 3:43 PM, Andreas Veithen <[email protected]>wrote: > Axis2 1.6.1 doesn't work with Neethi 2.0.4. > > Andreas > > On Thu, Dec 22, 2011 at 11:03, <[email protected]> wrote: > > Author: kasun > > Date: Thu Dec 22 10:03:12 2011 > > New Revision: 1222144 > > > > URL: http://svn.apache.org/viewvc?rev=1222144&view=rev > > Log: > > Adding Throttling mediator fixes > > > > Modified: > > > > synapse/branches/2.1/modules/extensions/src/main/java/org/apache/synapse/mediators/throttle/ThrottleMediator.java > > synapse/branches/2.1/modules/integration/pom.xml > > synapse/branches/2.1/pom.xml > > > > Modified: > synapse/branches/2.1/modules/extensions/src/main/java/org/apache/synapse/mediators/throttle/ThrottleMediator.java > > URL: > http://svn.apache.org/viewvc/synapse/branches/2.1/modules/extensions/src/main/java/org/apache/synapse/mediators/throttle/ThrottleMediator.java?rev=1222144&r1=1222143&r2=1222144&view=diff > > > ============================================================================== > > --- > synapse/branches/2.1/modules/extensions/src/main/java/org/apache/synapse/mediators/throttle/ThrottleMediator.java > (original) > > +++ > synapse/branches/2.1/modules/extensions/src/main/java/org/apache/synapse/mediators/throttle/ThrottleMediator.java > Thu Dec 22 10:03:12 2011 > > @@ -149,8 +149,7 @@ public class ThrottleMediator extends Ab > > } > > try { > > // process the policy > > - throttle = > ThrottleFactory.createMediatorThrottle( > > - > PolicyEngine.getPolicy(inLinePolicy)); > > + throttle = > ThrottleFactory.createMediatorThrottle(inLinePolicy); > > > > //At this point concurrent access controller > definitely 'null' > > // f the clustering is disable. > > @@ -213,8 +212,7 @@ public class ThrottleMediator extends Ab > > > > try { > > // Creates the throttle from the > policy > > - throttle = > ThrottleFactory.createMediatorThrottle( > > - > PolicyEngine.getPolicy((OMElement) entryValue)); > > + throttle = > ThrottleFactory.createMediatorThrottle((OMElement) entryValue); > > > > //For non-clustered environment > , must re-initiates > > //For clustered environment, > > > > Modified: synapse/branches/2.1/modules/integration/pom.xml > > URL: > http://svn.apache.org/viewvc/synapse/branches/2.1/modules/integration/pom.xml?rev=1222144&r1=1222143&r2=1222144&view=diff > > > ============================================================================== > > --- synapse/branches/2.1/modules/integration/pom.xml (original) > > +++ synapse/branches/2.1/modules/integration/pom.xml Thu Dec 22 10:03:12 > 2011 > > @@ -471,7 +471,7 @@ > > <dependency> > > <groupId>org.apache.neethi</groupId> > > <artifactId>neethi</artifactId> > > - <version>3.0.1</version> > > + <version>2.0.4</version> > > <scope>test</scope> > > </dependency> > > </dependencies> > > > > Modified: synapse/branches/2.1/pom.xml > > URL: > http://svn.apache.org/viewvc/synapse/branches/2.1/pom.xml?rev=1222144&r1=1222143&r2=1222144&view=diff > > > ============================================================================== > > --- synapse/branches/2.1/pom.xml (original) > > +++ synapse/branches/2.1/pom.xml Thu Dec 22 10:03:12 2011 > > @@ -872,7 +872,7 @@ > > <!-- dependencies of Synapse extensions module --> > > <wso2commons.version>1.2</wso2commons.version> > > <wso2caching.version>3.4.0</wso2caching.version> > > - <wso2throttle.version>3.2.0</wso2throttle.version> > > + <wso2throttle.version>3.2.1</wso2throttle.version> > > <wso2eventing-api.version>2.1</wso2eventing-api.version> > > <xbean.version>2.2.0</xbean.version> > > <bsf.version>3.0</bsf.version> > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Kasun Indrasiri Associate Technical Lead, WSO2 Inc. - "Lean . Enterprise . Middleware" - http://www.wso2.com/ Blog : http://kasunpanorama.blogspot.com/
