I have done this as

<iterate>
     <target sequential="true|false">
</iterate>

By default sequential is false.

Thanks,
Supun..

On Thu, Sep 16, 2010 at 9:19 AM, Hiranya Jayathilaka
<hiranya...@gmail.com>wrote:

> On Thu, Sep 16, 2010 at 9:14 AM, Supun Kamburugamuva <supu...@gmail.com>
> wrote:
> >
> >
> > On Wed, Sep 15, 2010 at 7:00 PM, Hiranya Jayathilaka <
> hiranya...@gmail.com>
> > wrote:
> >>
> >> On Wed, Sep 15, 2010 at 6:51 PM, Supun Kamburugamuva <supu...@gmail.com
> >
> >> wrote:
> >> > Right now synapse iterate mediator create a new thread for each
> >> > iteration.
> >> > Shall we make it possible to iterate without creating
> a separate thread?
> >> > For example lets say we want to iterate over a message and do several
> >> > calls.
> >> > But these calls have to be done in order. In this case this will be
> >> > useful.
> >>
> >> I'm +1 for this. While implementing certain scenarios I have felt the
> >> requirement of this feature. But it must be implemented as an optional
> >> mode of operation (say sequential mode) of the mediator. By default
> >> the iterate mediator should use multiple threads to process message
> >> fragments as it does now.
> >
> > +1, this was the exact idea in my mind as well.
> > How about saying <iterate sequential="true"/>?
>
> +1
>
> Thanks,
> Hiranya
>
> > Thanks,
> > Supun..
> >>
> >> eg:
> >>
> >> <iterate ..... sequentialMode="true">
> >> ....
> >> </iterate>
> >>
> >> By default the sequential mode should be turned off.
> >>
> >> Thanks,
> >> Hiranya
> >>
> >> >
> >> > Thanks,
> >> > Supun..
> >> >
> >> > --
> >> > Tech Lead, WSO2 Inc
> >> > http://wso2.org
> >> > supunk.blogspot.com
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> Hiranya Jayathilaka
> >> Senior Software Engineer;
> >> WSO2 Inc.;  http://wso2.org
> >> E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
> >> Blog: http://techfeast-hiranya.blogspot.com
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscr...@synapse.apache.org
> >> For additional commands, e-mail: dev-h...@synapse.apache.org
> >>
> >
> >
> >
> > --
> > Tech Lead, WSO2 Inc
> > http://wso2.org
> > supunk.blogspot.com
> >
> >
> >
>
>
>
> --
> Hiranya Jayathilaka
> Senior Software Engineer;
> WSO2 Inc.;  http://wso2.org
> E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
> Blog: http://techfeast-hiranya.blogspot.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@synapse.apache.org
> For additional commands, e-mail: dev-h...@synapse.apache.org
>
>


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

Reply via email to