[ 
https://issues.apache.org/jira/browse/CAMEL-10453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15650570#comment-15650570
 ] 

Tomas Turek commented on CAMEL-10453:
-------------------------------------

This problem exists only in the camel-elsql component because this component 
does not reuse {{SqlProducer}} to implement {{ElSqlProducer}}. Which should be 
a source of the problem because I discover another bug in {{ElSqlProducer}} 
[CAMEL-10459|https://issues.apache.org/jira/browse/CAMEL-10459].

> 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
>            Priority: Minor
>             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)

Reply via email to