<?xml version = "1.0"?>
<!--
 -
 - Licensed to the Apache Software Foundation (ASF) under one
 - or more contributor license agreements.  See the NOTICE file
 - distributed with this work for additional information
 - regarding copyright ownership.  The ASF licenses this file
 - to you under the Apache License, Version 2.0 (the
 - "License"); you may not use this file except in compliance
 - with the License.  You may obtain a copy of the License at
 - 
 -   http://www.apache.org/licenses/LICENSE-2.0
 - 
 - Unless required by applicable law or agreed to in writing,
 - software distributed under the License is distributed on an
 - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 - KIND, either express or implied.  See the License for the
 - specific language governing permissions and limitations
 - under the License.
 -
 -->
<amqp major = "0" minor = "9" port = "5672" comment = "AMQ Protocol version 0-9">

  <!-- ==  EXCHANGE  ============================================================ -->

  <class name = "exchange" handler = "channel" index = "40" label = "work with exchanges">
  
    <method name="bound" synchronous="1" index="22">
      <field name="exchange" domain="exchange name" />
      <field name = "routing key" type = "shortstr" label = "message routing key">
        <doc>
          Specifies the routing key for the message.  The routing key is
          used for routing messages depending on the exchange configuration.
        </doc>
      </field>
      <field name = "queue" domain = "queue name" label = "queue name" />
    </method>

    <method name="bound-ok" synchronous="1" index="23">
      <field name="reply code" domain="reply code"/>
      <field name="reply text" domain="reply text"/>
    </method>
  </class>
</amqp>
