-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
For more information please read this discussion and propositions by @garyrussell and @tomazfernandes: #1914.
As discussed in the discussion above, it is apparently possible to override internal beans in RetryTopicBootstrapper
, for instance:
@Bean("internalDeadLetterPublishingRecovererProvider")
public DeadLetterPublishingRecovererFactory retryTopicConfiguration(DestinationTopicResolver destinationTopicResolver) {
return new DeadLetterPublishingRecovererFactory(destinationTopicResolver);
}
However, after testing in a Spring Boot application, it does not seem to be possible, since RetryTopicBootstraper
is bootstraped before the application configuration, as seen in this demo application:
demo 2 2.zip