Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-9672

Create configurable retries for JMS messages in UPS

XMLWordPrintable

      Currently enmasse does not provide a way to configure how message failures are handled, and its default behavior is to retry messages immediately and infinitely. UPS should handle this itself by providing a mechanism for determining the number of retries and time for retrying a message.

      The environment variables to be set are :
      AMQ_MAX_RETRIES : how many times to retry a message (ex max retries of 3 will process a message up to three additional times after a failure)
      AMQ_BACKOFF_SECONDS : how many seconds to wait until a message is retried. This will increase by an equal amount for the number of retries. (ex a value of 30 will retry at 30, 60, 90... seconds increasing until the message processes or AMQ_MAX_RETRIES is reached)

            supittma@redhat.com Summers Pittman (Inactive)
            supittma@redhat.com Summers Pittman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: