Hi John Q,

The aggregate mediator is used for exactly this purpose (1).

(1) https://docs.wso2.com/display/ESB481/Aggregate+Mediator

Thanks,
Colin Roy-Ehri
Software Engineer
*WSO2, Inc. : wso2.com <http://wso2.com/>*
*Mobile*          : 812-219-6517

On Wed, Sep 16, 2015 at 12:56 PM, John Q <[email protected]> wrote:

> Hello, I´m beginner and I need some help with the ESB.
>
> This is my situation:
>
> I will receive a message with many items, I need to iterate the items list
> and call a service for creating each item. At the end of all of the calls,
> I need to call another service to notify the end of items creation.
>
> how can I do it? I have used the iterate mediator and I have iterated the
> items well, but I don´t know how to wait until the last item is created and
> call the notify service only once. I have called the notify service outside
> the iterator mediator, but it is invoked once per each item iterated.
>
> can any body give me a clue?
>
> best regards...
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to