Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Complete
-
3.0.8, 4.0.9, 4.1.9, 4.2.12, 4.3.6
Description
If payload = resultMap.values().iterator().next(); returns null, the next this.getMessageBuilderFactory().withPayload(payload).copyHeaders(requestMessage.getHeaders()).build() ends up with the java.lang.IllegalArgumentException: payload must not be null.
As a workaround do not extract single result and get deal with the whole Map downstream manually.
Therefore it isn't critical and may be backported to 4.2.x and below on demand.