You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Luca Burgazzoli (Jira)" <ji...@apache.org> on 2022/06/09 06:36:00 UTC

[jira] [Created] (CAMEL-18177) slack: honor Retry-After when requests are reate-limited

Luca Burgazzoli created CAMEL-18177:
---------------------------------------

             Summary: slack: honor Retry-After when requests are reate-limited
                 Key: CAMEL-18177
                 URL: https://issues.apache.org/jira/browse/CAMEL-18177
             Project: Camel
          Issue Type: Improvement
          Components: camel-slack
            Reporter: Luca Burgazzoli
             Fix For: 3.x


According to slack's doc:

{code}
If you exceed a rate limit when using any of our HTTP-based APIs (including Incoming Webhooks), Slack will return a HTTP 429 Too Many Requests error, and a Retry-After HTTP header containing the number of seconds until you can retry.
{code}

We should explore if we can honor the  Retry-After seconds to perform the next poll.




--
This message was sent by Atlassian Jira
(v8.20.7#820007)