You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (JIRA)" <ji...@apache.org> on 2016/11/21 14:05:58 UTC

[jira] [Commented] (CAMEL-10502) Camel-git : Copy headers from in to out

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

Andrea Cosentino commented on CAMEL-10502:
------------------------------------------

Good improvement. +1 for me. Thanks!

> 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
>             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)