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)

Reply via email to