Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-18177

camel-slack - Honour Retry-After when requests are rate-limited

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Workaround
    • None
    • 4.0-RC1, 4.0.0
    • camel-slack
    • None
    • Unknown

    Description

      According to slack's doc:

      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.
      

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

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            lb Luca Burgazzoli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: