diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/amqp/RabbitConnectionFactoryMetricsPostProcessor.java b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/amqp/RabbitConnectionFactoryMetricsPostProcessor.java index 7a79ba9b87..23c8c43836 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/amqp/RabbitConnectionFactoryMetricsPostProcessor.java +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/amqp/RabbitConnectionFactoryMetricsPostProcessor.java @@ -35,7 +35,7 @@ import org.springframework.util.StringUtils; * * @author Stephane Nicoll */ -public class RabbitConnectionFactoryMetricsPostProcessor +class RabbitConnectionFactoryMetricsPostProcessor implements BeanPostProcessor, Ordered { private static final String CONNECTION_FACTORY_SUFFIX = "connectionFactory";