[ https://issues.apache.org/jira/browse/CAMEL-10502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15684825#comment-15684825 ]
ASF GitHub Bot commented on CAMEL-10502: ---------------------------------------- Github user chenapan closed the pull request at: https://github.com/apache/camel/pull/1287 > 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)