[ 
https://issues.apache.org/jira/browse/CAMEL-10453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tomas Turek updated CAMEL-10453:
--------------------------------
    Description: 
Camel ElSql should store number of rows updated for update operation into 
CamelSqlUpdateCount header.

Route:
{code}
<route>
  <from uri="direct:updateLicense"/>
  <to uri="elsql:updateLicense"/>
  <to uri="mock:updateLicense"/>
</route>
{code}

ElSQL
{code}
@NAME(updateLicense)
    UPDATE projects
    SET license = :lic
    WHERE id = :id
{code}

> camel-elsql does not set CamelSqlUpdateCount header on update operation
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-10453
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10453
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-elsql
>    Affects Versions: 2.18.0
>            Reporter: Tomas Turek
>
> Camel ElSql should store number of rows updated for update operation into 
> CamelSqlUpdateCount header.
> Route:
> {code}
> <route>
>   <from uri="direct:updateLicense"/>
>   <to uri="elsql:updateLicense"/>
>   <to uri="mock:updateLicense"/>
> </route>
> {code}
> ElSQL
> {code}
> @NAME(updateLicense)
>     UPDATE projects
>     SET license = :lic
>     WHERE id = :id
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to