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

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

Marat Gubaidullin created CAMEL-18442:
-----------------------------------------

             Summary: 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


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)