Skip to content

Commit 606b101

Browse files
Merge pull request #1686 from rabbitmq/lrb-set_parameter-docs
Change example to use parameter that exists
2 parents 526ec37 + dbd3586 commit 606b101

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/rabbitmqctl.8

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -978,13 +978,13 @@ In most shells you are very likely to need to quote this.
978978
.El
979979
.Pp
980980
For example, this command sets the parameter
981-
.Qq local_username
981+
.Qq node01
982982
for the
983-
.Qq federation
984-
component in the default virtual host to the JSON term
983+
.Qq federation-upstream
984+
component in the default virtual host to the following JSON
985985
.Qq guest :
986986
.sp
987-
.Dl rabbitmqctl set_parameter federation local_username Qq guest
987+
.Dl rabbitmqctl set_parameter federation-upstream node01 '{"uri":"amqp://user:password@server/%2F","ack-mode":"on-publish"}'
988988
.\" ------------------------------------
989989
.It Cm clear_parameter Oo Fl p Ar vhost Oc Ar component_name Ar key
990990
Clears a parameter.
@@ -996,12 +996,12 @@ The name of the parameter being cleared.
996996
.El
997997
.Pp
998998
For example, this command clears the parameter
999-
.Qq local_username
999+
.Qq node01
10001000
for the
1001-
.Qq federation
1001+
.Qq federation-upstream
10021002
component in the default virtual host:
10031003
.sp
1004-
.Dl rabbitmqctl clear_parameter federation local_username
1004+
.Dl rabbitmqctl clear_parameter federation-upstream node01
10051005
.\" ------------------------------------
10061006
.It Cm list_parameters Op Fl p Ar vhost
10071007
Lists all parameters for a virtual host.

0 commit comments

Comments
 (0)