Previous | Table of Contents | Next |
22.15.3.1 RetryPolicy
This valuetype is the abstract base from which all retry policies are derived.
22.15.3.2 ImmediateSuspend
The registered router is placed in the SUSPENDED state as soon as a message send fails.
22.15.3.3 UnlimitedPing
This valuetype is used to parameterize a pinging behavior:
• backoff_factor - If max_backoffs is non-zero, the backoff_factor is the number by which the current interval between failed send attempts is multiplied to determine the interval before the next send should be attempted. For example, a backoff_factor of 2 will cause the interval to double between each failed attempt.
• base_interval_seconds - The base number of seconds between retries.
• max_backoffs - If zero, the same interval is used between each retry (constant interval pinging). If non-zero, the interval between retries is multiplied by the backoff_factor after each failed send attempt until max_backoffs failed attempts have been made. Once max_backoffs have been performed, retry attempts are made at the constant rate of the last interval used. Otherwise, the same interval is used between each retry (linear pinging).
22.15.3.4 LimitedPing
This valuetype is used to parameterize a pinging behavior that should be stopped after a specified number of attempts. It
derives from UnlimitedPing and adds the following state:
• interval_limit - The number of attempts before the pinging should be stopped.
22.15.3.5 DecayPolicy
This valuetype indicates how long a given registration is valid. If the decay_seconds are set to the value zero, the registered
destination router will only be unregistered with an invocation of unregister_router. Otherwise, the registered destination
router will be unregistered after the specified timeout has elapsed.
22.15.3.6 ResumePolicy
This valuetype indicates when a suspended registration should be resumed. If the resume_seconds are set to the value zero,
the registered destination will only become active once explicitly resumed. Otherwise, the suspended destination will be resumed
after the specified timeout has passed.