ghillert/spring-integration — comment on commit 7483e42ff7d5898e10cf252eff25aea772d081c7
File: spring-integration-jdbc/src/main/java/org/springframework/integration/jdbc/StoredProcPollingChannelAdapter.java line 122
By ghillert:

Based on our discussion I will add an additional boolean flag to the XML Schema 'expect-single-result' with the following behavior:

* if true and the map returned from the Stored Procedure call contains exactly 1 value, then return that value
* if true and the map returned from the Stored Procedure call contains more than 1 value, then throw a Messaging Exception
* if false return the resultMap as the Message's payload