pl.allegro.tech.hermes.consumers.config.HttpClientsMonitoringProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hermes-consumers Show documentation
Show all versions of hermes-consumers Show documentation
Fast and reliable message broker built on top of Kafka.
package pl.allegro.tech.hermes.consumers.config;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties(prefix = "consumer.http-client.monitoring")
public class HttpClientsMonitoringProperties {
private boolean connectionPoolMonitoringEnabled = false;
private boolean requestQueueMonitoringEnabled = true;
public boolean isConnectionPoolMonitoringEnabled() {
return connectionPoolMonitoringEnabled;
}
public void setConnectionPoolMonitoringEnabled(boolean connectionPoolMonitoringEnabled) {
this.connectionPoolMonitoringEnabled = connectionPoolMonitoringEnabled;
}
public boolean isRequestQueueMonitoringEnabled() {
return requestQueueMonitoringEnabled;
}
public void setRequestQueueMonitoringEnabled(boolean requestQueueMonitoringEnabled) {
this.requestQueueMonitoringEnabled = requestQueueMonitoringEnabled;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy