As it says in the documentation of the DBLookup Mediator it only returns the first row of the query, the other results if they are, were ignored.
I want to know if t
Yes DBlookup mediator will not return multiple rows. You can use two alternatives.
1) Use WSO2 Data services Server to create a data service and invoke that service from ESB using call out mediator.
2) You can write a class mediator to query data from database and then create a the payload from that and then send that through the sequence.