You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/08/30 18:35:00 UTC

[jira] [Updated] (CAMEL-18442) Github commit consumer does not work

     [ https://issues.apache.org/jira/browse/CAMEL-18442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-18442:
--------------------------------
    Fix Version/s: 3.18.2
                   3.19.0

> Github commit consumer does not work
> ------------------------------------
>
>                 Key: CAMEL-18442
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18442
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-github
>    Affects Versions: 3.18.1
>            Reporter: Marat Gubaidullin
>            Priority: Major
>             Fix For: 3.18.2, 3.19.0
>
>
> Try to execute github commit polling
> {code:java}
>         from("github://commit/main?" +
>                 "repoOwner=YOUR_OWNER" +
>                 "&repoName=YOUR_REPO" +
>                 "&delay=5000" +
>                 "&startingSha=last" +
>                 "&sendEmptyMessageWhenIdle=true" +
>                 "&oauthToken=YOUR_TOKEN")
>                 .log("${body}");
> {code}
> Commit something to repo. As the result you'll have `null`.
> In case `startingSha=beginning` all previous commits retrieved but new commits won't be pulled.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)