...
Use Iterator mediator in association with Aggregate mediator.
Do not do any configuration after the Send mediator.
Do proper error handling to handle mediation errors as well as endpoint errors.
Use the dollar context (i.e.
$ctx)
instead of using theget
property instead of$ctx
.Use appropriate intervals for tasks.
...