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

camel-elsql does not set CamelSqlUpdateCount header on update operation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.18.0
    • 2.18.1, 2.19.0
    • camel-elsql
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: