Skip to content

Commit

Permalink
fix multi-rabbit example
Browse files Browse the repository at this point in the history
RoutingConnectionFactory is not a ConnectionFactory
  • Loading branch information
mhewedy authored and garyrussell committed Feb 3, 2022
1 parent 4309ff3 commit 49bc52d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reference/asciidoc/amqp.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6728,7 +6728,7 @@ public class Application {
}
@Bean
RabbitTemplate template(RoutingConnectionFactory rcf) {
RabbitTemplate template(SimpleRoutingConnectionFactory rcf) {
return new RabbitTemplate(rcf);
}
Expand Down

0 comments on commit 49bc52d

Please sign in to comment.