| 1 |
<?xml version="1.0"?> |
| 2 |
|
| 3 |
<!-- |
| 4 |
Copyright Bank of America, N.A., Barclays Bank PLC, Cisco Systems, Credit |
| 5 |
Suisse, Deutsche Boerse, Envoy Technologies Inc., Goldman Sachs, HCL |
| 6 |
Technologies Ltd, IIT Software GmbH, iMatix Corporation, INETCO Systems Limited, |
| 7 |
Informatica Corporation, JPMorgan Chase & Co., Kaazing Corporation, N.A, |
| 8 |
Microsoft Corporation, my-Channels, Novell, Progress Software, Red Hat Inc., |
| 9 |
Software AG, Solace Systems Inc., StormMQ Ltd., Tervela Inc., TWIST Process |
| 10 |
Innovations Ltd, VMware, Inc., and WS02 Inc. 2006-2011. All rights reserved. |
| 11 |
|
| 12 |
Redistribution and use in source and binary forms, with or without |
| 13 |
modification, are permitted provided that the following conditions |
| 14 |
are met: |
| 15 |
1. Redistributions of source code must retain the above copyright |
| 16 |
notice, this list of conditions and the following disclaimer. |
| 17 |
2. Redistributions in binary form must reproduce the above copyright |
| 18 |
notice, this list of conditions and the following disclaimer in the |
| 19 |
documentation and/or other materials provided with the distribution. |
| 20 |
3. The name of the author may not be used to endorse or promote products |
| 21 |
derived from this software without specific prior written permission. |
| 22 |
|
| 23 |
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
| 24 |
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
| 25 |
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
| 26 |
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
| 27 |
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
| 28 |
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 29 |
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 30 |
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 31 |
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 32 |
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 33 |
--> |
| 34 |
|
| 35 |
<amqp name="transport" xmlns="http://www.amqp.org/schema/amqp.xsd"> |
| 36 |
<section name="performatives"> |
| 37 |
<type name="open" class="composite" source="list" provides="frame"> |
| 38 |
<descriptor name="amqp:open:list" code="0x00000000:0x00000010"/> |
| 39 |
<field name="container-id" type="string" mandatory="true"/> |
| 40 |
<field name="hostname" type="string"/> |
| 41 |
<field name="max-frame-size" type="uint" default="4294967295"/> |
| 42 |
<field name="channel-max" type="ushort" default="65535"/> |
| 43 |
<field name="idle-time-out" type="milliseconds"/> |
| 44 |
<field name="outgoing-locales" type="ietf-language-tag" multiple="true"/> |
| 45 |
<field name="incoming-locales" type="ietf-language-tag" multiple="true"/> |
| 46 |
<field name="offered-capabilities" type="symbol" multiple="true"/> |
| 47 |
<field name="desired-capabilities" type="symbol" multiple="true"/> |
| 48 |
<field name="properties" type="fields"/> |
| 49 |
</type> |
| 50 |
<type name="begin" class="composite" source="list" provides="frame"> |
| 51 |
<descriptor name="amqp:begin:list" code="0x00000000:0x00000011"/> |
| 52 |
<field name="remote-channel" type="ushort"/> |
| 53 |
<field name="next-outgoing-id" type="transfer-number" mandatory="true"/> |
| 54 |
<field name="incoming-window" type="uint" mandatory="true"/> |
| 55 |
<field name="outgoing-window" type="uint" mandatory="true"/> |
| 56 |
<field name="handle-max" type="handle" default="4294967295"/> |
| 57 |
<field name="offered-capabilities" type="symbol" multiple="true"/> |
| 58 |
<field name="desired-capabilities" type="symbol" multiple="true"/> |
| 59 |
<field name="properties" type="fields"/> |
| 60 |
</type> |
| 61 |
<type name="attach" class="composite" source="list" provides="frame"> |
| 62 |
<descriptor name="amqp:attach:list" code="0x00000000:0x00000012"/> |
| 63 |
<field name="name" type="string" mandatory="true"/> |
| 64 |
<field name="handle" type="handle" mandatory="true"/> |
| 65 |
<field name="role" type="role" mandatory="true"/> |
| 66 |
<field name="snd-settle-mode" type="sender-settle-mode" default="mixed"/> |
| 67 |
<field name="rcv-settle-mode" type="receiver-settle-mode" default="first"/> |
| 68 |
<field name="source" type="*" requires="source"/> |
| 69 |
<field name="target" type="*" requires="target"/> |
| 70 |
<field name="unsettled" type="map"/> |
| 71 |
<field name="incomplete-unsettled" type="boolean" default="false"/> |
| 72 |
<field name="initial-delivery-count" type="sequence-no"/> |
| 73 |
<field name="max-message-size" type="ulong"/> |
| 74 |
<field name="offered-capabilities" type="symbol" multiple="true"/> |
| 75 |
<field name="desired-capabilities" type="symbol" multiple="true"/> |
| 76 |
<field name="properties" type="fields"/> |
| 77 |
</type> |
| 78 |
<type name="flow" class="composite" source="list" provides="frame"> |
| 79 |
<descriptor name="amqp:flow:list" code="0x00000000:0x00000013"/> |
| 80 |
<field name="next-incoming-id" type="transfer-number"/> |
| 81 |
<field name="incoming-window" type="uint" mandatory="true"/> |
| 82 |
<field name="next-outgoing-id" type="transfer-number" mandatory="true"/> |
| 83 |
<field name="outgoing-window" type="uint" mandatory="true"/> |
| 84 |
<field name="handle" type="handle"/> |
| 85 |
<field name="delivery-count" type="sequence-no"/> |
| 86 |
<field name="link-credit" type="uint"/> |
| 87 |
<field name="available" type="uint"/> |
| 88 |
<field name="drain" type="boolean" default="false"/> |
| 89 |
<field name="echo" type="boolean" default="false"/> |
| 90 |
<field name="properties" type="fields"/> |
| 91 |
</type> |
| 92 |
<type name="transfer" class="composite" source="list" provides="frame"> |
| 93 |
<descriptor name="amqp:transfer:list" code="0x00000000:0x00000014"/> |
| 94 |
<field name="handle" type="handle" mandatory="true"/> |
| 95 |
<field name="delivery-id" type="delivery-number"/> |
| 96 |
<field name="delivery-tag" type="delivery-tag"/> |
| 97 |
<field name="message-format" type="message-format"/> |
| 98 |
<field name="settled" type="boolean"/> |
| 99 |
<field name="more" type="boolean" default="false"/> |
| 100 |
<field name="rcv-settle-mode" type="receiver-settle-mode"/> |
| 101 |
<field name="state" type="*" requires="delivery-state"/> |
| 102 |
<field name="resume" type="boolean" default="false"/> |
| 103 |
<field name="aborted" type="boolean" default="false"/> |
| 104 |
<field name="batchable" type="boolean" default="false"/> |
| 105 |
</type> |
| 106 |
<type name="disposition" class="composite" source="list" provides="frame"> |
| 107 |
<descriptor name="amqp:disposition:list" code="0x00000000:0x00000015"/> |
| 108 |
<field name="role" type="role" mandatory="true"/> |
| 109 |
<field name="first" type="delivery-number" mandatory="true"/> |
| 110 |
<field name="last" type="delivery-number"/> |
| 111 |
<field name="settled" type="boolean" default="false"/> |
| 112 |
<field name="state" type="*" requires="delivery-state"/> |
| 113 |
<field name="batchable" type="boolean" default="false"/> |
| 114 |
</type> |
| 115 |
<type name="detach" class="composite" source="list" provides="frame"> |
| 116 |
<descriptor name="amqp:detach:list" code="0x00000000:0x00000016"/> |
| 117 |
<field name="handle" type="handle" mandatory="true"/> |
| 118 |
<field name="closed" type="boolean" default="false"/> |
| 119 |
<field name="error" type="error"/> |
| 120 |
</type> |
| 121 |
<type name="end" class="composite" source="list" provides="frame"> |
| 122 |
<descriptor name="amqp:end:list" code="0x00000000:0x00000017"/> |
| 123 |
<field name="error" type="error"/> |
| 124 |
</type> |
| 125 |
<type name="close" class="composite" source="list" provides="frame"> |
| 126 |
<descriptor name="amqp:close:list" code="0x00000000:0x00000018"/> |
| 127 |
<field name="error" type="error"/> |
| 128 |
</type> |
| 129 |
</section> |
| 130 |
<section name="definitions"> |
| 131 |
<type name="role" class="restricted" source="boolean"> |
| 132 |
<choice name="sender" value="false"/> |
| 133 |
<choice name="receiver" value="true"/> |
| 134 |
</type> |
| 135 |
<type name="sender-settle-mode" class="restricted" source="ubyte"> |
| 136 |
<choice name="unsettled" value="0"/> |
| 137 |
<choice name="settled" value="1"/> |
| 138 |
<choice name="mixed" value="2"/> |
| 139 |
</type> |
| 140 |
<type name="receiver-settle-mode" class="restricted" source="ubyte"> |
| 141 |
<choice name="first" value="0"/> |
| 142 |
<choice name="second" value="1"/> |
| 143 |
</type> |
| 144 |
<type name="handle" class="restricted" source="uint"/> |
| 145 |
<type name="seconds" class="restricted" source="uint"/> |
| 146 |
<type name="milliseconds" class="restricted" source="uint"/> |
| 147 |
<type name="delivery-tag" class="restricted" source="binary"/> |
| 148 |
<type name="delivery-number" class="restricted" source="sequence-no"/> |
| 149 |
<type name="transfer-number" class="restricted" source="sequence-no"/> |
| 150 |
<type name="sequence-no" class="restricted" source="uint"/> |
| 151 |
<type name="message-format" class="restricted" source="uint"/> |
| 152 |
<type name="ietf-language-tag" class="restricted" source="symbol"/> |
| 153 |
<type name="fields" class="restricted" source="map"/> |
| 154 |
<type name="error" class="composite" source="list"> |
| 155 |
<descriptor name="amqp:error:list" code="0x00000000:0x0000001d"/> |
| 156 |
<field name="condition" type="symbol" mandatory="true" requires="error-condition"/> |
| 157 |
<field name="description" type="string"/> |
| 158 |
<field name="info" type="fields"/> |
| 159 |
</type> |
| 160 |
<type name="amqp-error" class="restricted" source="symbol" provides="error-condition"> |
| 161 |
<choice name="internal-error" value="amqp:internal-error"/> |
| 162 |
<choice name="not-found" value="amqp:not-found"/> |
| 163 |
<choice name="unauthorized-access" value="amqp:unauthorized-access"/> |
| 164 |
<choice name="decode-error" value="amqp:decode-error"/> |
| 165 |
<choice name="resource-limit-exceeded" value="amqp:resource-limit-exceeded"/> |
| 166 |
<choice name="not-allowed" value="amqp:not-allowed"/> |
| 167 |
<choice name="invalid-field" value="amqp:invalid-field"/> |
| 168 |
<choice name="not-implemented" value="amqp:not-implemented"/> |
| 169 |
<choice name="resource-locked" value="amqp:resource-locked"/> |
| 170 |
<choice name="precondition-failed" value="amqp:precondition-failed"/> |
| 171 |
<choice name="resource-deleted" value="amqp:resource-deleted"/> |
| 172 |
<choice name="illegal-state" value="amqp:illegal-state"/> |
| 173 |
<choice name="frame-size-too-small" value="amqp:frame-size-too-small"/> |
| 174 |
</type> |
| 175 |
<type name="connection-error" class="restricted" source="symbol" provides="error-condition"> |
| 176 |
<choice name="connection-forced" value="amqp:connection:forced"/> |
| 177 |
<choice name="framing-error" value="amqp:connection:framing-error"/> |
| 178 |
<choice name="redirect" value="amqp:connection:redirect"/> |
| 179 |
</type> |
| 180 |
<type name="session-error" class="restricted" source="symbol" provides="error-condition"> |
| 181 |
<choice name="window-violation" value="amqp:session:window-violation"/> |
| 182 |
<choice name="errant-link" value="amqp:session:errant-link"/> |
| 183 |
<choice name="handle-in-use" value="amqp:session:handle-in-use"/> |
| 184 |
<choice name="unattached-handle" value="amqp:session:unattached-handle"/> |
| 185 |
</type> |
| 186 |
<type name="link-error" class="restricted" source="symbol" provides="error-condition"> |
| 187 |
<choice name="detach-forced" value="amqp:link:detach-forced"/> |
| 188 |
<choice name="transfer-limit-exceeded" value="amqp:link:transfer-limit-exceeded"/> |
| 189 |
<choice name="message-size-exceeded" value="amqp:link:message-size-exceeded"/> |
| 190 |
<choice name="redirect" value="amqp:link:redirect"/> |
| 191 |
<choice name="stolen" value="amqp:link:stolen"/> |
| 192 |
</type> |
| 193 |
<definition name="PORT" value="5672"/> |
| 194 |
<definition name="SECURE-PORT" value="5671"/> |
| 195 |
<definition name="MAJOR" value="1"/> |
| 196 |
<definition name="MINOR" value="0"/> |
| 197 |
<definition name="REVISION" value="0"/> |
| 198 |
<definition name="MIN-MAX-FRAME-SIZE" value="512"/> |
| 199 |
</section> |
| 200 |
</amqp> |