|
1 | 1 | <?xml version="1.0"?>
|
2 |
| - |
| 2 | +<!-- WARNING: Modified from the official 0-8 specification XML by |
| 3 | + the addition of queue.unbind, queue.unbind-ok --> |
3 | 4 | <!--
|
4 | 5 | Copyright Notice
|
5 | 6 | ================
|
@@ -1618,6 +1619,59 @@ localised reply text
|
1618 | 1619 | </doc>
|
1619 | 1620 | <chassis name="client" implement="MUST"/>
|
1620 | 1621 | </method>
|
| 1622 | + |
| 1623 | + <!-- Unofficial additions to the 0-8 protocol, lifted from the 0-9 |
| 1624 | + protocol specification: queue.unbind, queue.unbind-ok --> |
| 1625 | + |
| 1626 | + <method name = "unbind" synchronous = "1" index = "50" label = "unbind a queue from an exchange"> |
| 1627 | + <doc>This method unbinds a queue from an exchange.</doc> |
| 1628 | + <rule name = "01"> |
| 1629 | + <doc>If a unbind fails, the server MUST raise a connection exception.</doc> |
| 1630 | + </rule> |
| 1631 | + <chassis name="server" implement="MUST"/> |
| 1632 | + <response name="unbind-ok"/> |
| 1633 | + |
| 1634 | + <field name = "ticket" domain = "access ticket"> |
| 1635 | + <doc> |
| 1636 | + The client provides a valid access ticket giving "active" |
| 1637 | + access rights to the queue's access realm. |
| 1638 | + </doc> |
| 1639 | + </field> |
| 1640 | + |
| 1641 | + <field name = "queue" domain = "queue name"> |
| 1642 | + <doc>Specifies the name of the queue to unbind.</doc> |
| 1643 | + <rule name = "02"> |
| 1644 | + <doc> |
| 1645 | + If the queue does not exist the server MUST raise a channel exception |
| 1646 | + with reply code 404 (not found). |
| 1647 | + </doc> |
| 1648 | + </rule> |
| 1649 | + </field> |
| 1650 | + |
| 1651 | + <field name = "exchange" domain = "exchange name"> |
| 1652 | + <doc>The name of the exchange to unbind from.</doc> |
| 1653 | + <rule name = "03"> |
| 1654 | + <doc> |
| 1655 | + If the exchange does not exist the server MUST raise a channel |
| 1656 | + exception with reply code 404 (not found). |
| 1657 | + </doc> |
| 1658 | + </rule> |
| 1659 | + </field> |
| 1660 | + |
| 1661 | + <field name = "routing key" domain = "shortstr" label = "routing key of binding"> |
| 1662 | + <doc>Specifies the routing key of the binding to unbind.</doc> |
| 1663 | + </field> |
| 1664 | + |
| 1665 | + <field name = "arguments" domain = "table" label = "arguments of binding"> |
| 1666 | + <doc>Specifies the arguments of the binding to unbind.</doc> |
| 1667 | + </field> |
| 1668 | + </method> |
| 1669 | + |
| 1670 | + <method name = "unbind-ok" synchronous = "1" index = "51" label = "confirm unbind successful"> |
| 1671 | + <doc>This method confirms that the unbind was successful.</doc> |
| 1672 | + <chassis name = "client" implement = "MUST"/> |
| 1673 | + </method> |
| 1674 | + |
1621 | 1675 | <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
1622 | 1676 | <method name="purge" synchronous="1" index="30">
|
1623 | 1677 | purge a queue
|
|
0 commit comments