Skip to content

Commit 279ca13

Browse files
mhewedygaryrussell
authored andcommitted
fix multi-rabbit example
RoutingConnectionFactory is not a ConnectionFactory
1 parent fbd444e commit 279ca13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reference/asciidoc/amqp.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6804,7 +6804,7 @@ public class Application {
68046804
}
68056805
68066806
@Bean
6807-
RabbitTemplate template(RoutingConnectionFactory rcf) {
6807+
RabbitTemplate template(SimpleRoutingConnectionFactory rcf) {
68086808
return new RabbitTemplate(rcf);
68096809
}
68106810

0 commit comments

Comments
 (0)