camel-ibatis - Only SELECT should store as BODY, others as headers
------------------------------------------------------------------

                 Key: CAMEL-1649
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1649
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-ibatis
    Affects Versions: 1.6.1, 2.0-M1
            Reporter: Claus Ibsen
            Priority: Minor
             Fix For: 1.6.2, 2.0.0


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to