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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15647835#comment-15647835 ] 

Claus Ibsen commented on CAMEL-10453:
-------------------------------------

Also mind camel-elsql reuses camel-sql so maybe there is something wrong there too?

> 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
>             Fix For: 2.18.1, 2.19.0
>
>
> 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)