Errai
  1. Errai
  2. ERRAI-447

ClientMessageBus should allow for the connection retry interval and the maximum number of retries to be configurable

    Details

    • Type: Feature Request Feature Request
    • Status: Resolved Resolved (View Workflow)
    • Priority: Major Major
    • Resolution: Out of Date Out of Date
    • Affects Version/s: None
    • Fix Version/s: 3.0.0.CR1
    • Component/s: ErraiBus
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      Currently the retry interval and maximum number of retries are hard-coded (2 seconds and 5 retries). We should allow for these values to be configurable.

      This could either be done using a callback mechanism on the client, so that every client can dynamically configure these values, or as simple settings in ErraiApp.properties.

        Activity

        Hide
        Christian Sadilek
        added a comment -

        Starting with Errai 2.4, the client-side bus no longer gives up after a maximum number of retries. It will try to reconnect until told otherwise (i.e. in a bus lifecycle listener). We also now have a simple back-off algorithm in place instead of a fixed retry interval. Therefore, I am closing this issue as "out of date".

        Show
        Christian Sadilek
        added a comment - Starting with Errai 2.4, the client-side bus no longer gives up after a maximum number of retries. It will try to reconnect until told otherwise (i.e. in a bus lifecycle listener). We also now have a simple back-off algorithm in place instead of a fixed retry interval. Therefore, I am closing this issue as "out of date".

          People

          • Assignee:
            Christian Sadilek
            Reporter:
            Christian Sadilek
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: