Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-1649

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0-M1, 1.6.1
    • 1.6.2, 2.0-M2
    • camel-ibatis
    • None

    Description

      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.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: