Merge pull request #27376 from bono007

* gh-27376:
  Polish "Make RabbitTemplateConfigurer's setters public"
  Make RabbitTemplateConfigurer's setters public

Closes gh-27376
This commit is contained in:
Andy Wilkinson 2021-07-20 15:00:37 +01:00
commit 556d5683a9
1 changed files with 5 additions and 3 deletions

View File

@ -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.
@ -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<RabbitRetryTemplateCustomizer> retryTemplateCustomizers) {
public void setRetryTemplateCustomizers(List<RabbitRetryTemplateCustomizer> retryTemplateCustomizers) {
this.retryTemplateCustomizers = retryTemplateCustomizers;
}