synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Supun Kamburugamuva <supu...@gmail.com>
Subject Re: svn commit: r1001492 - in /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml: IterateMediatorFactory.java IterateMediatorSerializer.java
Date Mon, 27 Sep 2010 09:10:13 GMT
Thanks for the reminder. I almost forgot.

Supun..

On Mon, Sep 27, 2010 at 9:25 AM, Hiranya Jayathilaka
<hiranya911@gmail.com>wrote:

> Should also go to the 2.0 branch I suppose
>
> Thanks,
> Hiranya
>
> On Mon, Sep 27, 2010 at 12:19 AM,  <supun@apache.org> wrote:
> > Author: supun
> > Date: Sun Sep 26 18:49:43 2010
> > New Revision: 1001492
> >
> > URL: http://svn.apache.org/viewvc?rev=1001492&view=rev
> > Log:
> > making the iterate mediator attribute sequential
> >
> > Modified:
> >
>  synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/IterateMediatorFactory.java
> >
>  synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/IterateMediatorSerializer.java
> >
> > Modified:
> synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/IterateMediatorFactory.java
> > URL:
> http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/IterateMediatorFactory.java?rev=1001492&r1=1001491&r2=1001492&view=diff
> >
> ==============================================================================
> > ---
> synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/IterateMediatorFactory.java
> (original)
> > +++
> synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/IterateMediatorFactory.java
> Sun Sep 26 18:49:43 2010
> > @@ -63,13 +63,13 @@ public class IterateMediatorFactory exte
> >     private static final QName ATT_CONTPAR = new QName("continueParent");
> >     private static final QName ATT_PREPLD = new QName("preservePayload");
> >     private static final QName ATT_ATTACHPATH = new QName("attachPath");
> > -    private static final QName ATT_ASYNCHRONOUS = new
> QName("asynchronous");
> > +    private static final QName ATT_SEQUENCIAL = new QName("sequential");
> >
> >     /**
> >      * This method will create the IterateMediator by parsing the given
> xml configuration
> >      *
> >      * @param elem OMElement describing the configuration of the
> IterateMediaotr
> > -     * @param properties
> > +     * @param properties properties passed
> >      * @return IterateMediator created from the given configuration
> >      */
> >     public Mediator createSpecificMediator(OMElement elem, Properties
> properties) {
> > @@ -121,7 +121,7 @@ public class IterateMediatorFactory exte
> >         }
> >
> >         boolean asynchronous = true;
> > -        OMAttribute asynchronousAttr =
> elem.getAttribute(ATT_ASYNCHRONOUS);
> > +        OMAttribute asynchronousAttr =
> elem.getAttribute(ATT_SEQUENCIAL);
> >         if (asynchronousAttr != null &&
> asynchronousAttr.getAttributeValue().equals("false")) {
> >             asynchronous = true;
> >         }
> >
> > Modified:
> synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/IterateMediatorSerializer.java
> > URL:
> http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/IterateMediatorSerializer.java?rev=1001492&r1=1001491&r2=1001492&view=diff
> >
> ==============================================================================
> > ---
> synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/IterateMediatorSerializer.java
> (original)
> > +++
> synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/IterateMediatorSerializer.java
> Sun Sep 26 18:49:43 2010
> > @@ -82,7 +82,7 @@ public class IterateMediatorSerializer e
> >         }
> >
> >         if (itrMed.getTarget() != null &&
> !itrMed.getTarget().isAsynchronous()) {
> > -            itrElem.addAttribute("asynchronous", "false", nullNS);
> > +            itrElem.addAttribute("sequential", "false", nullNS);
> >         }
> >
> >
> itrElem.addChild(TargetSerializer.serializeTarget(itrMed.getTarget()));
> >
> >
> >
>
>
>
> --
> Hiranya Jayathilaka
> Senior Software Engineer;
> WSO2 Inc.;  http://wso2.org
> E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
> Blog: http://techfeast-hiranya.blogspot.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> For additional commands, e-mail: dev-help@synapse.apache.org
>
>


-- 
Tech Lead, WSO2 Inc
http://wso2.org
supunk.blogspot.com

Mime
View raw message