Only the INSERT should store the response from ibatis in the OUT body.
The others such as INSERT, UPDATE, DELETE should store the response in a special header.
This allows the end user to keep the original payload in the message so it can be continued to be routed.
That could be an order Object that he/she wants to continue routing with.
Then the header can contain the response from ibatis that can be a auto generated key or the like.