-
Bug
-
Resolution: Done
-
Major
-
None
-
AMQ 7.7.0.OPR.2.GA, AMQ 7.8.0.dev
-
False
-
False
-
?
-
-
Documented as Resolved Issue
-
Verified in a release
-
-
Based on artemis documentation: https://activemq.apache.org/components/artemis/documentation/latest/undelivered-messages.html
the collision-avoidance-factor setting must be a float between 0 and 1:
The redelivery-delay can be also be modified by configuring the redelivery-collision-avoidance-factor. This factor will be made either positive or negative at random to control whether the ultimate value will increase or decrease the redelivery-delay. Then it's multiplied by a random number between 0.0 and 1.0. This result is then multiplied by the redelivery-delay and then added to the redelivery-delay to arrive at the final value.
When I tried to specify it as 0.3 in the CR, CR apply fails with:
The ActiveMQArtemis "ex-aao" is invalid: spec.addressSettings.addressSetting.redeliveryCollisionAvoidanceFactor: Invalid value: "string": spec.addressSettings.addressSetting.redeliveryCollisionAvoidanceFactor in body must be of type number: "string"