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

Elsql producer inconsistent behavior compare to sql component producer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.18.4, 2.19.1
    • 2.19.3, 2.20.0
    • camel-elsql
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: