Git

Git

Scheme: git
Syntax: git:localPath
Description: The git component is used for working with git repositories.
Deprecated:false
Async:false
Maven: org.apache.camel/camel-git/2.18.1.redhat-000039

The git component is used for working with git repositories.

Name Kind Group Required Default Type Enum Description
localPath path common true java.lang.String Local repository path
branchName parameter common java.lang.String The branch name to work on
password parameter common java.lang.String Remote repository password
remoteName parameter common java.lang.String The remote repository name to use in particular operation like pull
remotePath parameter common java.lang.String The remote repository path
tagName parameter common java.lang.String The tag name to work on
username parameter common java.lang.String Remote repository username
bridgeErrorHandler parameter consumer boolean Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN/ERROR level and ignored.
type parameter consumer org.apache.camel.component.git.consumer.GitType commit
tag
branch
The consumer type
exceptionHandler parameter consumer (advanced) org.apache.camel.spi.ExceptionHandler To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions, that will be logged at WARN/ERROR level and ignored.
exchangePattern parameter consumer (advanced) org.apache.camel.ExchangePattern InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the exchange pattern when the consumer creates an exchange.
operation parameter producer java.lang.String clone
init
add
remove
commit
commitAll
createBranch
deleteBranch
createTag
deleteTag
status
log
push
pull
showBranches
cherryPick
The operation to do on the repository
synchronous parameter advanced false boolean Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).