You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An AbstractRabbitListenerContainerFactoryConfigurer and its sub-classes require RabbitProperties to have been set but the MessageConverter and List<RabbitRetryTemplateCustomizer> are both optional and can be left unset. All three are configured via setter methods making it hard to distinguish between things that are required and things that are optional. It'd be good if RabbitProperties was a constructor parameter.
To do this in a backwards-compatible manner we'll have to keep the default constructors and add on that takes RabbitProperties alongside them. We'll also have to keep the setter, albeit in a deprecated form.
The text was updated successfully, but these errors were encountered:
An
AbstractRabbitListenerContainerFactoryConfigurer
and its sub-classes requireRabbitProperties
to have been set but theMessageConverter
andList<RabbitRetryTemplateCustomizer>
are both optional and can be left unset. All three are configured via setter methods making it hard to distinguish between things that are required and things that are optional. It'd be good ifRabbitProperties
was a constructor parameter.To do this in a backwards-compatible manner we'll have to keep the default constructors and add on that takes
RabbitProperties
alongside them. We'll also have to keep the setter, albeit in a deprecated form.The text was updated successfully, but these errors were encountered: