From ce87928170df78fa3eedbfe8066298508bb009ce Mon Sep 17 00:00:00 2001 From: bono007 Date: Mon, 19 Jul 2021 23:07:39 -0500 Subject: [PATCH 1/2] Make RabbitTemplateConfigurer's setters public See gh-27376 --- .../boot/autoconfigure/amqp/RabbitTemplateConfigurer.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitTemplateConfigurer.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitTemplateConfigurer.java index 5c74a2d434..a8605a3f89 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitTemplateConfigurer.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitTemplateConfigurer.java @@ -63,16 +63,18 @@ public class RabbitTemplateConfigurer { * Set the {@link MessageConverter} to use or {@code null} if the out-of-the-box * converter should be used. * @param messageConverter the {@link MessageConverter} + * @since 2.6.0 */ - protected void setMessageConverter(MessageConverter messageConverter) { + public void setMessageConverter(MessageConverter messageConverter) { this.messageConverter = messageConverter; } /** * Set the {@link RabbitRetryTemplateCustomizer} instances to use. * @param retryTemplateCustomizers the retry template customizers + * @since 2.6.0 */ - protected void setRetryTemplateCustomizers(List retryTemplateCustomizers) { + public void setRetryTemplateCustomizers(List retryTemplateCustomizers) { this.retryTemplateCustomizers = retryTemplateCustomizers; } From 668f45f0e85cc9ae92e5dab5655f96ad2d4f0eb9 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 20 Jul 2021 14:59:24 +0100 Subject: [PATCH 2/2] Polish "Make RabbitTemplateConfigurer's setters public" See gh-27376 --- .../boot/autoconfigure/amqp/RabbitTemplateConfigurer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitTemplateConfigurer.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitTemplateConfigurer.java index a8605a3f89..f775b5d021 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitTemplateConfigurer.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitTemplateConfigurer.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2019 the original author or authors. + * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.