Skip to content

Commit 49bc52d

Browse files
mhewedygaryrussell
authored andcommitted
fix multi-rabbit example
RoutingConnectionFactory is not a ConnectionFactory
1 parent 4309ff3 commit 49bc52d

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
@@ -6728,7 +6728,7 @@ public class Application {
67286728
}
67296729
67306730
@Bean
6731-
RabbitTemplate template(RoutingConnectionFactory rcf) {
6731+
RabbitTemplate template(SimpleRoutingConnectionFactory rcf) {
67326732
return new RabbitTemplate(rcf);
67336733
}
67346734

0 commit comments

Comments
 (0)