WSO2 ESB DBLookup mediator query multiple rows

后端 未结 4 1008
闹比i
闹比i 2021-01-02 19:06

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

4条回答
  •  囚心锁ツ
    2021-01-02 19:25

    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.

提交回复
热议问题