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

ASF GitHub Bot commented on CAMEL-11726:
----------------------------------------

GitHub user aldettinger opened a pull request:

    https://github.com/apache/camel/pull/1917

    CAMEL-11726: Fixed the Elsql producer inconsistent behavior

    Fixed the Elsql producer inconsistent behavior compared to sql component 
producer.
    
    [CAMEL-11726](https://issues.apache.org/jira/browse/CAMEL-11726) has more.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/aldettinger/camel master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/1917.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1917
    
----
commit b23e8dc25b7d3d6a281b8404337c21fca1b643ae
Author: aldettinger <[email protected]>
Date:   2017-09-06T15:13:47Z

    CAMEL-11726: Fixed the Elsql producer inconsistent behavior compared to sql 
component producer

----


> Elsql producer inconsistent behavior compare to sql component producer
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-11726
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11726
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-elsql
>    Affects Versions: 2.18.4, 2.19.1
>            Reporter: Mark You
>            Priority: Minor
>             Fix For: 2.18.5, 2.19.3, 2.20.0
>
>         Attachments: camel.png
>
>
> When using elsql component to do a insert operation, the message header is 
> losing because elsql component use exchange.getOut() to set SQL_UPDATE_COUNT 
> while sql compoent use exchange.getIn() to set SQL_UPDATE_COUNT. 
> It will cause some problem if we want to reuse header or body in next step. 
> It will be nice to change  it to use exchange.getIn() to set SQL_UPDATE_COUNT 
> as sql component which will make these two component consistent behavior. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to