<?xml version="1.0"?>
<!--
 -
 - Copyright (c) 2006 The Apache Software Foundation
 -
 - Licensed 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.
 -
 -->
<cml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://www.apache.org/schema/cml cml.xsd"
   xmlns="http://www.apache.org/schema/cml"
   version="1.0">   
   <schema-reply name = "qpid.apache.org/kernel" version = "0.1" status = "ok">
      <class name = "broker">
         <field name = "started" label = "Date, time broker started" />
         <field name = "vhost" type = "objref" repeat = "1" />
      </class>
      <class name = "vhost">
         <field name = "name" label = "Virtual host path" />
         <field name = "exchange" type = "objref" repeat = "1" />
         <field name = "queue" type = "objref" repeat = "1" />
      </class>
      <class name = "exchange">
         <field name = "name" />
         <field name = "type" />
         <field name = "durable" label = "Durable exchange?" type = "bool" />
         <field name = "auto_delete" label = "Auto-deleted?" type = "bool" />
         <field name = "bindings" label = "Number of bindings" type = "int" />
      </class>
      <class name = "queue">
         <field name = "scope" />
         <field name = "name" />
         <field name = "enabled" label = "Queue accepts new messages?" modify = "1" />
         <field name = "durable" label = "Durable queue?" type = "bool" />
         <field name = "exclusive" label = "Exclusive to one connection?" type = "bool" />
         <field name = "auto_delete" label = "Auto-deleted?" type = "bool" />
         <field name = "consumers" label = "Number of consumers" type = "int" />
         <field name = "messages" label = "Number of messages" type = "int" />
      </class>
   </schema-reply>
</cml>
