Make RabbitTemplateConfigurer's setters public

See gh-27376
pull/27417/head
bono007 3 years ago committed by Andy Wilkinson
parent 6e7e72a481
commit ce87928170

@ -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;
}

Loading…
Cancel
Save