Reputation: 75
In WSO2 ESB, can i use aggregate mediator to aggregate messages split by iterate mediator(which doesn't use Send or Call mediators to send the message to external endpoint) ?
I have tried this but aggregate mediator is not picking up the split messages..
Any help is deeply appreciated .
Upvotes: 3
Views: 1512
Reputation: 2093
If you are only trying to transform a message iteratively, then you can use the ForEach mediator without the need for Iterate and Aggregate mediators. This is supported since ESB 4.9.0
Upvotes: 0
Reputation: 5946
I've had to do the same thing and can tell that it works if you define a fake response :
iterate -> sequence
aggregate
Upvotes: 3