prakash
prakash

Reputation: 57

Spring Integration | jdbc outbound gateway/adapter

I am working on a Spring integration application, I have a List of Maps which I need to insert into a table.

I have used jdbc:outbound-gateway or adapter to insert a record to the table.

But how to insert all records from my list of map using jdbc:outbound-gateway.

Upvotes: 1

Views: 164

Answers (1)

Artem Bilan
Artem Bilan

Reputation: 121177

Use <splitter> upstream to your <int-jdbc:outbound-gateway>.

We have an issue on the matter, but before that fix we should split our collections before insert.

Upvotes: 1

Related Questions