Should be implemented at Synapse level. Better to discuss this there and
provide a patch.

Thanks,
Hiranya

On Wed, Feb 15, 2012 at 7:27 AM, Dushan Abeyruwan <dus...@wso2.com> wrote:

> Hi
>       Regarding  $subject , Can we do this WDYT ? we do have a scenario to
> Iterate over the nodes, filter out and continue and do the operations  via
> service chaining, expression will determine how many messages it should
> wait before continue completion, and minimum number of messages will be
> count via the property expression
>
>         <Iterator>
>         <property name="TARGET_USER" expression="//a:Adviser/a:Id"/>
>         <property name="ACCOUNT_COUNT" value="0"/>
>         // doing role authentication ...returns ctx:PERM_RESULT (boolan
> value)
>            <filter source="$ctx:PERM_RESULT" regex="true">
>                     <property name="ACCOUNT_COUNT"
> expression="$ctx:ACCOUNT_COUNT + 1"/>
>                      ....continue service chaining.....
>            <filter>
>         </iterator>
>
>       <aggregate>
>             <completeCondition>
>                 <messageCount min="$ctx:ACCOUNT_COUNT" max="-1"/>
> ------------------------------------------------>$ctx:ACCOUNT_COUN  can we
> provide like this
>             </completeCondition>
>             <onComplete xmlns:m0="http://ws.wso2.org/dataservice";
> expression="//m0:Clients">
>                 <sequence key="sequenceClientPolcies"/>
>             </onComplete>
>         </aggregate>
>
>
>
> cheers
> Dushan Abeyruwan
> WSO2 Inc
> Senior Software Engineer
>
> Mobile:(+94)714408632
>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to