Skip to content

Commit 109d5ce

Browse files
author
Matthew Sackman
committed
Invert the polarity so that it matches the wrongness and confusivenessity of the queue.{bind,unbind} methods
1 parent 66652d7 commit 109d5ce

File tree

1 file changed

+32
-33
lines changed

1 file changed

+32
-33
lines changed

docs/specs/amqp0-9-1.xml

Lines changed: 32 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,11 +1337,8 @@
13371337

13381338
<method name = "bind" synchronous = "1" index = "30"
13391339
label = "bind exchange to an exchange">
1340-
<doc>
1341-
This method binds an exchange to an exchange. Either exchange
1342-
may be of any valid type and may already or subsequently be
1343-
bound to other exchanges or queues.
1344-
</doc>
1340+
1341+
<doc>This method binds an exchange to an exchange.</doc>
13451342

13461343
<rule name = "duplicates">
13471344
<doc>
@@ -1371,12 +1368,13 @@
13711368
A server MUST not deliver the same message more than once to
13721369
a destination exchange, even if the topology of exchanges
13731370
and bindings results in multiple (even infinite) routes to
1374-
the exchange.
1371+
that exchange.
13751372
</doc>
13761373
<doc type = "scenario">
13771374
A client declares an exchange and binds it using multiple
13781375
bindings to the amq.topic exchange. The client then
1379-
publishes a message that matches all the bindings.
1376+
publishes a message to the amq.topic exchange that matches
1377+
all the bindings.
13801378
</doc>
13811379
</rule>
13821380

@@ -1389,14 +1387,14 @@
13891387

13901388
<field name = "destination" domain = "exchange-name"
13911389
label = "name of the destination exchange to bind to">
1392-
<doc>Specifies the name of the destination exchange to bind to.</doc>
1390+
<doc>Specifies the name of the destination exchange to bind.</doc>
13931391
<rule name = "exchange-existence" on-failure = "not-found">
13941392
<doc>
1395-
A client MUST NOT be allowed to bind to a non-existent
1393+
A client MUST NOT be allowed to bind a non-existent
13961394
destination exchange.
13971395
</doc>
13981396
<doc type = "scenario">
1399-
A client attempts to bind an exchange to an undeclared
1397+
A client attempts to bind an undeclared exchange to an
14001398
exchange.
14011399
</doc>
14021400
</rule>
@@ -1406,22 +1404,22 @@
14061404
default exchange.
14071405
</doc>
14081406
<doc type = "scenario">
1409-
The client declares an exchange and binds it to a blank
1410-
exchange name.
1407+
The client declares an exchange and binds a blank exchange
1408+
name to it.
14111409
</doc>
14121410
</rule>
14131411
</field>
14141412

14151413
<field name = "source" domain = "exchange-name"
14161414
label = "name of the source exchange to bind to">
1417-
<doc>Specifies the name of the source exchange to bind to.</doc>
1415+
<doc>Specifies the name of the source exchange to bind.</doc>
14181416
<rule name = "exchange-existence" on-failure = "not-found">
14191417
<doc>
1420-
A client MUST NOT be allowed to bind to a non-existent
1421-
source exchange.
1418+
A client MUST NOT be allowed to bind a non-existent source
1419+
exchange.
14221420
</doc>
14231421
<doc type = "scenario">
1424-
A client attempts to bind an undeclared exchange to an
1422+
A client attempts to bind an exchange to an undeclared
14251423
exchange.
14261424
</doc>
14271425
</rule>
@@ -1431,8 +1429,8 @@
14311429
default exchange.
14321430
</doc>
14331431
<doc type = "scenario">
1434-
The client declares an exchange and binds a blank exchange
1435-
name to it.
1432+
The client declares an exchange and binds it to a blank
1433+
exchange name.
14361434
</doc>
14371435
</rule>
14381436
</field>
@@ -1480,15 +1478,15 @@
14801478
<field name = "reserved-1" type = "short" reserved = "1"/>
14811479

14821480
<field name = "destination" domain = "exchange-name">
1483-
<doc>Specifies the name of the destination exchange to unbind from.</doc>
1481+
<doc>Specifies the name of the destination exchange to unbind.</doc>
14841482
<rule name = "must-exist" on-failure = "not-found">
14851483
<doc>
1486-
The client MUST NOT attempt to unbind an exchange from an
1487-
exchange that does not exist.
1484+
The client MUST NOT attempt to unbind an exchange that
1485+
does not exist from an exchange.
14881486
</doc>
14891487
<doc type = "scenario">
1490-
The client attempts to unbind an exchange from a
1491-
non-existent exchange.
1488+
The client attempts to unbind a non-existent exchange from
1489+
an exchange.
14921490
</doc>
14931491
</rule>
14941492
<rule name = "default-exchange">
@@ -1497,23 +1495,23 @@
14971495
default exchange.
14981496
</doc>
14991497
<doc type = "scenario">
1500-
The client declares an exchange, binds it to a blank
1501-
exchange name, and then unbinds it from a blank exchange
1502-
name.
1498+
The client declares an exchange, binds a blank exchange
1499+
name to it, and then unbinds a blank exchange name from
1500+
it.
15031501
</doc>
15041502
</rule>
15051503
</field>
15061504

15071505
<field name = "source" domain = "exchange-name">
1508-
<doc>Specifies the name of the source exchange to unbind from.</doc>
1506+
<doc>Specifies the name of the source exchange to unbind.</doc>
15091507
<rule name = "must-exist" on-failure = "not-found">
15101508
<doc>
1511-
The client MUST NOT attempt to unbind an exchange that
1512-
does not exist from an exchange.
1509+
The client MUST NOT attempt to unbind an exchange from an
1510+
exchange that does not exist.
15131511
</doc>
15141512
<doc type = "scenario">
1515-
The client attempts to unbind a non-existent exchange from
1516-
an exchange.
1513+
The client attempts to unbind an exchange from a
1514+
non-existent exchange.
15171515
</doc>
15181516
</rule>
15191517
<rule name = "default-exchange">
@@ -1522,8 +1520,9 @@
15221520
default exchange.
15231521
</doc>
15241522
<doc type = "scenario">
1525-
The client declares an exchange, binds a blank exchange
1526-
name to it, and then unbinds a black exchange from it.
1523+
The client declares an exchange, binds an exchange to a
1524+
blank exchange name, and then unbinds an exchange from a
1525+
black exchange name.
15271526
</doc>
15281527
</rule>
15291528
</field>

0 commit comments

Comments
 (0)