Uploaded image for project: 'FUSE Mediation Router'
  1. FUSE Mediation Router
  2. MR-344

Redelivery policy's retryUntil option should be renamed as retryWhile

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.4.0-fuse-00-00
    • 2.3.0-fuse-01-00
    • None
    • None

      The semantics of retryUntil are a bit counter-intuitive. I would naturally expect retryUntil(predicate) to mean retry until predicate is true, but it actually means retry until predicate is false. If you change the name of the option to retryWhile, you would get the natural interpretation retry while predicate is true.

            cibsen@redhat.com Claus Ibsen
            fbolton@redhat.com Fintan Bolton (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: