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