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

camel-elsql does not set CamelSqlUpdateCount header on update operation

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.18.0
    • Fix Version/s: 2.18.1, 2.19.0
    • Component/s: camel-elsql
    • Labels:
      None
    • Estimated Complexity:
      Novice

      Description

      Camel ElSql should store number of rows updated for update operation into CamelSqlUpdateCount header.

      Route:

      <route>
        <from uri="direct:updateLicense"/>
        <to uri="elsql:updateLicense"/>
        <to uri="mock:updateLicense"/>
      </route>
      

      ElSQL

      @NAME(updateLicense)
          UPDATE projects
          SET license = :lic
          WHERE id = :id
      

        Attachments

          Activity

            People

            • Assignee:
              acosentino Andrea Cosentino
              Reporter:
              tturek Tomas Turek
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: