Hi all,

We came across a scenario where the user needs to exit iterate mediator
without having to wait for all iterations to be completed. Consider the
following scenario.

1. Iterate mediator splits the message into 10 pieces
2. For each message, some operations occur (eg:- update a db record)
3. 6th operation fails

The user needs to collect the responses up to 6th iteration and send it
back to the client instead of having to wait for all 10 messages to be
processed. Currently, we have to use the iterate mediator and wait for all
the 10 messages to be processed in order to send back to the client.

My suggestion/question is, is it possible to support 'break' statement like
functionality to work with iterate mediator? Please provide your feedback
and I have created the ticket [1] to track this improvement. Thanks!

[1] https://wso2.org/jira/browse/ESBJAVA-4517

Cheers,
Pubudu D.P
Senior Software Engineer - QA Team | WSO2 inc.
Mobile : +94775464547
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to