Uploaded image for project: 'Spring AMQP'
  1. Spring AMQP
  2. AMQP-259

Use Spring Retry for Listener Container Reconnect

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Primarily for HA failover, the BlockingQueueConsumer has a crude mechanism for re-declaring the queues. It tries 3 times, waiting 5 seconds for each.

      Consider using the Spring RetryTemplate, with pluggable backoff and retry policies to reconnect the consumer after a failure.

        Attachments

          Activity

            People

            • Assignee:
              abilan Artem Bilan
              Reporter:
              grussell Gary Russell
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: