|
1337 | 1337 |
|
1338 | 1338 | <method name = "bind" synchronous = "1" index = "30"
|
1339 | 1339 | 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> |
1345 | 1342 |
|
1346 | 1343 | <rule name = "duplicates">
|
1347 | 1344 | <doc>
|
|
1371 | 1368 | A server MUST not deliver the same message more than once to
|
1372 | 1369 | a destination exchange, even if the topology of exchanges
|
1373 | 1370 | and bindings results in multiple (even infinite) routes to
|
1374 |
| - the exchange. |
| 1371 | + that exchange. |
1375 | 1372 | </doc>
|
1376 | 1373 | <doc type = "scenario">
|
1377 | 1374 | A client declares an exchange and binds it using multiple
|
1378 | 1375 | 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. |
1380 | 1378 | </doc>
|
1381 | 1379 | </rule>
|
1382 | 1380 |
|
|
1389 | 1387 |
|
1390 | 1388 | <field name = "destination" domain = "exchange-name"
|
1391 | 1389 | 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> |
1393 | 1391 | <rule name = "exchange-existence" on-failure = "not-found">
|
1394 | 1392 | <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 |
1396 | 1394 | destination exchange.
|
1397 | 1395 | </doc>
|
1398 | 1396 | <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 |
1400 | 1398 | exchange.
|
1401 | 1399 | </doc>
|
1402 | 1400 | </rule>
|
|
1406 | 1404 | default exchange.
|
1407 | 1405 | </doc>
|
1408 | 1406 | <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. |
1411 | 1409 | </doc>
|
1412 | 1410 | </rule>
|
1413 | 1411 | </field>
|
1414 | 1412 |
|
1415 | 1413 | <field name = "source" domain = "exchange-name"
|
1416 | 1414 | 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> |
1418 | 1416 | <rule name = "exchange-existence" on-failure = "not-found">
|
1419 | 1417 | <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. |
1422 | 1420 | </doc>
|
1423 | 1421 | <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 |
1425 | 1423 | exchange.
|
1426 | 1424 | </doc>
|
1427 | 1425 | </rule>
|
|
1431 | 1429 | default exchange.
|
1432 | 1430 | </doc>
|
1433 | 1431 | <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. |
1436 | 1434 | </doc>
|
1437 | 1435 | </rule>
|
1438 | 1436 | </field>
|
|
1480 | 1478 | <field name = "reserved-1" type = "short" reserved = "1"/>
|
1481 | 1479 |
|
1482 | 1480 | <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> |
1484 | 1482 | <rule name = "must-exist" on-failure = "not-found">
|
1485 | 1483 | <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. |
1488 | 1486 | </doc>
|
1489 | 1487 | <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. |
1492 | 1490 | </doc>
|
1493 | 1491 | </rule>
|
1494 | 1492 | <rule name = "default-exchange">
|
|
1497 | 1495 | default exchange.
|
1498 | 1496 | </doc>
|
1499 | 1497 | <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. |
1503 | 1501 | </doc>
|
1504 | 1502 | </rule>
|
1505 | 1503 | </field>
|
1506 | 1504 |
|
1507 | 1505 | <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> |
1509 | 1507 | <rule name = "must-exist" on-failure = "not-found">
|
1510 | 1508 | <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. |
1513 | 1511 | </doc>
|
1514 | 1512 | <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. |
1517 | 1515 | </doc>
|
1518 | 1516 | </rule>
|
1519 | 1517 | <rule name = "default-exchange">
|
|
1522 | 1520 | default exchange.
|
1523 | 1521 | </doc>
|
1524 | 1522 | <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. |
1527 | 1526 | </doc>
|
1528 | 1527 | </rule>
|
1529 | 1528 | </field>
|
|
0 commit comments