You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Tomas Turek (JIRA)" <ji...@apache.org> on 2016/11/08 14:46:58 UTC

[jira] [Updated] (CAMEL-10453) camel-elsql does not set CamelSqlUpdateCount header on update operation

     [ 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)