fix multi-rabbit example

RoutingConnectionFactory is not a ConnectionFactory
This commit is contained in:
Muhammad Hewedy
2022-02-03 12:19:52 +03:00
committed by Gary Russell
parent 4309ff328d
commit 49bc52d4fd

View File

@@ -6728,7 +6728,7 @@ public class Application {
}
@Bean
RabbitTemplate template(RoutingConnectionFactory rcf) {
RabbitTemplate template(SimpleRoutingConnectionFactory rcf) {
return new RabbitTemplate(rcf);
}