Skip to content

Commit

Permalink
Merge pull request #24143 from rhuan080/rabbitmq-reference-fix
Browse files Browse the repository at this point in the history
Fixing the rabbitmq-reference guide issue in code
  • Loading branch information
gsmet authored Mar 7, 2022
2 parents 56dc389 + 3357b69 commit bfb30a8
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions docs/src/main/asciidoc/rabbitmq-reference.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -356,16 +356,16 @@ public RabbitMQOptions getNamedOptions() {
.setSsl(true)
.setPemKeyCertOptions(keycert)
.setPemTrustOptions(trust)
.setUser("user1");
.setPassword("password1");
.setHost("localhost");
.setPort(5672);
.setVirtualHost("vhost1");
.setConnectionTimeout(6000); // in milliseconds
.setRequestedHeartbeat(60); // in seconds
.setHandshakeTimeout(6000); // in milliseconds
.setRequestedChannelMax(5);
.setNetworkRecoveryInterval(500); // in milliseconds
.setUser("user1")
.setPassword("password1")
.setHost("localhost")
.setPort(5672)
.setVirtualHost("vhost1")
.setConnectionTimeout(6000) // in milliseconds
.setRequestedHeartbeat(60) // in seconds
.setHandshakeTimeout(6000) // in milliseconds
.setRequestedChannelMax(5)
.setNetworkRecoveryInterval(500) // in milliseconds
.setAutomaticRecoveryEnabled(true);
}
----
Expand Down

0 comments on commit bfb30a8

Please sign in to comment.