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 fbd444e2f6
commit 279ca1378a

View File

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