public RetryTransientErrorsPolicy setEnabled(boolean enabled) {
        this.enabled.set(enabled);
        return this;
    }
Sets whether or not this policy should allow retries or not.

@param enabled True to allow retries.
@return This, to allow chaining.
messagebus/src/main/java/com/yahoo/messagebus/routing/RetryTransientErrorsPolicy.java