fix multi-rabbit example
RoutingConnectionFactory is not a ConnectionFactory
This commit is contained in:
committed by
Gary Russell
parent
4309ff328d
commit
49bc52d4fd
@@ -6728,7 +6728,7 @@ public class Application {
|
||||
}
|
||||
|
||||
@Bean
|
||||
RabbitTemplate template(RoutingConnectionFactory rcf) {
|
||||
RabbitTemplate template(SimpleRoutingConnectionFactory rcf) {
|
||||
return new RabbitTemplate(rcf);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user