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

Elsql producer inconsistent behavior compare to sql component producer

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.18.4, 2.19.1
    • Fix Version/s: 2.19.3, 2.20.0
    • Component/s: camel-elsql
    • Labels:
      None
    • Estimated Complexity:
      Novice

      Description

      When using elsql component to do a insert operation, the message header is losing because elsql component use exchange.getOut() to set SQL_UPDATE_COUNT while sql compoent use exchange.getIn() to set SQL_UPDATE_COUNT.

      It will cause some problem if we want to reuse header or body in next step. It will be nice to change it to use exchange.getIn() to set SQL_UPDATE_COUNT as sql component which will make these two component consistent behavior.

        Attachments

        1. camel.png
          1.06 MB
          Mark You

          Activity

            People

            • Assignee:
              aldettinger Alex Dettinger
              Reporter:
              bonbonmark Mark You
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: