This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit 29f33b507beb8d55457de57205b355fd8fcb48aa Author: Andrea Cosentino <[email protected]> AuthorDate: Thu Nov 5 14:08:07 2020 +0100 CAMEL-15812 - Camel-Git: Better structure for consumer returned object - Add information to the migration guide --- .../modules/ROOT/pages/camel-3x-upgrade-guide-3_7.adoc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_7.adoc b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_7.adoc index a66dc36..f168856 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_7.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_7.adoc @@ -120,3 +120,15 @@ We changed some options naming because they were a bit misleading For more information, have a look at CAMEL-15770 +=== camel-git + +The Camel Git Commit consumer has been changed a bit. + +For each exchange now in the body you'll get the commit full message as a String and the Commit Object like before. + +Other information have been stored in headers declared in GitConstants class +- GIT_COMMIT_ID - "CamelGitCommitId" - The commit Id +- GIT_COMMIT_AUTHOR_NAME - "CamelGitAuthorName" - The commit Author name +- GIT_COMMIT_COMMITTER_NAME - "CamelGitCommiterName" - The commit committer name +- GIT_COMMIT_TIME - "CamelGitCommitTime" - The commit time +
