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

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

GitHub user chenapan opened a pull request:

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

    CAMEL-10502 - Camel-git : Copy headers from in to out

    Preferred working on separate branches instead of master as it moves a lot. 
Sorry for that. You can accept PRs the order you want, I'll fix the conflicts 
as soon as master changes...

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

    $ git pull https://github.com/chenapan/camel CAMEL-10502

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

    https://github.com/apache/camel/pull/1291.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 #1291
    
----
commit 8ab374b1ea3074d64bbde4cfca25a6751572f622
Author: Olivier Antibi <[email protected]>
Date:   2016-11-21T17:09:36Z

    CAMEL-10502 - Camel-git : Copy headers from in to out

----


> Camel-git : Copy headers from in to out
> ---------------------------------------
>
>                 Key: CAMEL-10502
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10502
>             Project: Camel
>          Issue Type: Task
>          Components: camel-git
>    Affects Versions: 2.18.0
>            Reporter: Olivier Antibi
>            Assignee: Andrea Cosentino
>             Fix For: 2.19.0
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> Camel-git has been thought to be used as different separate commands, so a 
> new message is built after each git commands(use of exchange.getOut()). If 
> you try to chain 2 different commands (add and commit), you will loose the 
> camel headers in between.
> The idea is to copy headers from in to out. Another solution could be to 
> modify "exchange.getIn()" instead of using "exchange.getOut()".



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

Reply via email to