All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.solace.spring.cloud.stream.binder.properties.SolaceSessionHealthProperties Maven / Gradle / Ivy

The newest version!
package com.solace.spring.cloud.stream.binder.properties;

import jakarta.validation.constraints.Min;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.validation.annotation.Validated;

@Validated
@ConfigurationProperties("solace.health-check.connection")
public class SolaceSessionHealthProperties {
    /**
     * 

The number of session reconnect attempts until the health goes {@code DOWN}. This will happen regardless if * the underlying session is actually still reconnecting. Setting this to {@code 0} will disable this feature.

*

This feature operates independently of the PubSub+ session reconnect feature. Meaning that if PubSub+ * session reconnect is configured to retry less than the value given to this property, then this feature * effectively does nothing.

*/ @Min(0) @Getter @Setter private long reconnectAttemptsUntilDown = 0; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy