Merge lp:~esteve/txamqp/538999-queue-unbind-xml into lp:txamqp
- 538999-queue-unbind-xml
- Merge into trunk
Proposed by
Esteve Fernandez
Status: | Merged |
---|---|
Merged at revision: | 51 |
Proposed branch: | lp:~esteve/txamqp/538999-queue-unbind-xml |
Merge into: | lp:txamqp |
Diff against target: |
776 lines (+771/-0) 1 file modified
src/specs/rabbitmq/amqp0-8.stripped.rabbitmq.xml (+771/-0) |
To merge this branch: | bzr merge lp:~esteve/txamqp/538999-queue-unbind-xml |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Esteve Fernandez | Approve | ||
Review via email: mp+21361@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Revision history for this message
Esteve Fernandez (esteve) : | # |
review:
Approve
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === added directory 'src/specs/rabbitmq' |
2 | === added file 'src/specs/rabbitmq/amqp0-8.stripped.rabbitmq.xml' |
3 | --- src/specs/rabbitmq/amqp0-8.stripped.rabbitmq.xml 1970-01-01 00:00:00 +0000 |
4 | +++ src/specs/rabbitmq/amqp0-8.stripped.rabbitmq.xml 2010-03-15 10:30:31 +0000 |
5 | @@ -0,0 +1,771 @@ |
6 | +<?xml version="1.0"?> |
7 | +<!-- |
8 | +Copyright (c) 2009 AMQP Working Group. |
9 | +All rights reserved. |
10 | + |
11 | +Redistribution and use in source and binary forms, with or without |
12 | +modification, are permitted provided that the following conditions |
13 | +are met: |
14 | +1. Redistributions of source code must retain the above copyright |
15 | +notice, this list of conditions and the following disclaimer. |
16 | +2. Redistributions in binary form must reproduce the above copyright |
17 | +notice, this list of conditions and the following disclaimer in the |
18 | +documentation and/or other materials provided with the distribution. |
19 | +3. The name of the author may not be used to endorse or promote products |
20 | +derived from this software without specific prior written permission. |
21 | + |
22 | +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
23 | +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
24 | +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
25 | +IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
26 | +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
27 | +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
28 | +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
29 | +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
30 | +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
31 | +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
32 | +--> |
33 | +<amqp major="8" minor="0" port="5672"> |
34 | + <constant name="frame method" value="1"/> |
35 | + <constant name="frame header" value="2"/> |
36 | + <constant name="frame body" value="3"/> |
37 | + <constant name="frame oob method" value="4"/> |
38 | + <constant name="frame oob header" value="5"/> |
39 | + <constant name="frame oob body" value="6"/> |
40 | + <constant name="frame trace" value="7"/> |
41 | + <constant name="frame heartbeat" value="8"/> |
42 | + <constant name="frame min size" value="4096"/> |
43 | + <constant name="frame end" value="206"/> |
44 | + <constant name="reply success" value="200"/> |
45 | + <constant name="not delivered" value="310" class="soft error"/> |
46 | + <constant name="content too large" value="311" class="soft error"/> |
47 | + <constant name="connection forced" value="320" class="hard error"/> |
48 | + <constant name="invalid path" value="402" class="hard error"/> |
49 | + <constant name="access refused" value="403" class="soft error"/> |
50 | + <constant name="not found" value="404" class="soft error"/> |
51 | + <constant name="resource locked" value="405" class="soft error"/> |
52 | + <constant name="frame error" value="501" class="hard error"/> |
53 | + <constant name="syntax error" value="502" class="hard error"/> |
54 | + <constant name="command invalid" value="503" class="hard error"/> |
55 | + <constant name="channel error" value="504" class="hard error"/> |
56 | + <constant name="resource error" value="506" class="hard error"/> |
57 | + <constant name="not allowed" value="530" class="hard error"/> |
58 | + <constant name="not implemented" value="540" class="hard error"/> |
59 | + <constant name="internal error" value="541" class="hard error"/> |
60 | + <domain name="access ticket" type="short"> |
61 | + <assert check="ne" value="0"/> |
62 | + </domain> |
63 | + <domain name="class id" type="short"/> |
64 | + <domain name="consumer tag" type="shortstr"/> |
65 | + <domain name="delivery tag" type="longlong"/> |
66 | + <domain name="exchange name" type="shortstr"> |
67 | + <assert check="length" value="127"/> |
68 | + </domain> |
69 | + <domain name="known hosts" type="shortstr"/> |
70 | + <domain name="method id" type="short"/> |
71 | + <domain name="no ack" type="bit"/> |
72 | + <domain name="no local" type="bit"/> |
73 | + <domain name="path" type="shortstr"> |
74 | + <assert check="notnull"/> |
75 | + <assert check="syntax" rule="path"/> |
76 | + <assert check="length" value="127"/> |
77 | + </domain> |
78 | + <domain name="peer properties" type="table"/> |
79 | + <domain name="queue name" type="shortstr"> |
80 | + <assert check="length" value="127"/> |
81 | + </domain> |
82 | + <domain name="redelivered" type="bit"/> |
83 | + <domain name="reply code" type="short"> |
84 | + <assert check="notnull"/> |
85 | + </domain> |
86 | + <domain name="reply text" type="shortstr"> |
87 | + <assert check="notnull"/> |
88 | + </domain> |
89 | + <class name="connection" handler="connection" index="10"> |
90 | + <chassis name="server" implement="MUST"/> |
91 | + <chassis name="client" implement="MUST"/> |
92 | + <method name="start" synchronous="1" index="10"> |
93 | + <chassis name="client" implement="MUST"/> |
94 | + <response name="start-ok"/> |
95 | + <field name="version major" type="octet"/> |
96 | + <field name="version minor" type="octet"/> |
97 | + <field name="server properties" domain="peer properties"/> |
98 | + <field name="mechanisms" type="longstr"> |
99 | + <see name="security mechanisms"/> |
100 | + <assert check="notnull"/> |
101 | + </field> |
102 | + <field name="locales" type="longstr"> |
103 | + <assert check="notnull"/> |
104 | + </field> |
105 | + </method> |
106 | + <method name="start-ok" synchronous="1" index="11"> |
107 | + <chassis name="server" implement="MUST"/> |
108 | + <field name="client properties" domain="peer properties"/> |
109 | + <field name="mechanism" type="shortstr"> |
110 | + <assert check="notnull"/> |
111 | + </field> |
112 | + <field name="response" type="longstr"> |
113 | + <assert check="notnull"/> |
114 | + </field> |
115 | + <field name="locale" type="shortstr"> |
116 | + <assert check="notnull"/> |
117 | + </field> |
118 | + </method> |
119 | + <method name="secure" synchronous="1" index="20"> |
120 | + <chassis name="client" implement="MUST"/> |
121 | + <response name="secure-ok"/> |
122 | + <field name="challenge" type="longstr"> |
123 | + <see name="security mechanisms"/> |
124 | + </field> |
125 | + </method> |
126 | + <method name="secure-ok" synchronous="1" index="21"> |
127 | + <chassis name="server" implement="MUST"/> |
128 | + <field name="response" type="longstr"> |
129 | + <assert check="notnull"/> |
130 | + </field> |
131 | + </method> |
132 | + <method name="tune" synchronous="1" index="30"> |
133 | + <chassis name="client" implement="MUST"/> |
134 | + <response name="tune-ok"/> |
135 | + <field name="channel max" type="short"/> |
136 | + <field name="frame max" type="long"/> |
137 | + <field name="heartbeat" type="short"/> |
138 | + </method> |
139 | + <method name="tune-ok" synchronous="1" index="31"> |
140 | + <chassis name="server" implement="MUST"/> |
141 | + <field name="channel max" type="short"> |
142 | + <assert check="notnull"/> |
143 | + <assert check="le" method="tune" field="channel max"/> |
144 | + </field> |
145 | + <field name="frame max" type="long"/> |
146 | + <field name="heartbeat" type="short"/> |
147 | + </method> |
148 | + <method name="open" synchronous="1" index="40"> |
149 | + <chassis name="server" implement="MUST"/> |
150 | + <response name="open-ok"/> |
151 | + <response name="redirect"/> |
152 | + <field name="virtual host" domain="path"> |
153 | + <assert check="regexp" value="^[a-zA-Z0-9/-_]+$"/> |
154 | + </field> |
155 | + <field name="capabilities" type="shortstr"/> |
156 | + <field name="insist" type="bit"/> |
157 | + </method> |
158 | + <method name="open-ok" synchronous="1" index="41"> |
159 | + <chassis name="client" implement="MUST"/> |
160 | + <field name="known hosts" domain="known hosts"/> |
161 | + </method> |
162 | + <method name="redirect" synchronous="1" index="50"> |
163 | + <chassis name="client" implement="MAY"/> |
164 | + <field name="host" type="shortstr"> |
165 | + <assert check="notnull"/> |
166 | + </field> |
167 | + <field name="known hosts" domain="known hosts"/> |
168 | + </method> |
169 | + <method name="close" synchronous="1" index="60"> |
170 | + <chassis name="client" implement="MUST"/> |
171 | + <chassis name="server" implement="MUST"/> |
172 | + <response name="close-ok"/> |
173 | + <field name="reply code" domain="reply code"/> |
174 | + <field name="reply text" domain="reply text"/> |
175 | + <field name="class id" domain="class id"/> |
176 | + <field name="method id" domain="class id"/> |
177 | + </method> |
178 | + <method name="close-ok" synchronous="1" index="61"> |
179 | + <chassis name="client" implement="MUST"/> |
180 | + <chassis name="server" implement="MUST"/> |
181 | + </method> |
182 | + </class> |
183 | + <class name="channel" handler="channel" index="20"> |
184 | + <chassis name="server" implement="MUST"/> |
185 | + <chassis name="client" implement="MUST"/> |
186 | + <method name="open" synchronous="1" index="10"> |
187 | + <chassis name="server" implement="MUST"/> |
188 | + <response name="open-ok"/> |
189 | + <field name="out of band" type="shortstr"> |
190 | + <assert check="null"/> |
191 | + </field> |
192 | + </method> |
193 | + <method name="open-ok" synchronous="1" index="11"> |
194 | + <chassis name="client" implement="MUST"/> |
195 | + </method> |
196 | + <method name="flow" synchronous="1" index="20"> |
197 | + <chassis name="server" implement="MUST"/> |
198 | + <chassis name="client" implement="MUST"/> |
199 | + <response name="flow-ok"/> |
200 | + <field name="active" type="bit"/> |
201 | + </method> |
202 | + <method name="flow-ok" index="21"> |
203 | + <chassis name="server" implement="MUST"/> |
204 | + <chassis name="client" implement="MUST"/> |
205 | + <field name="active" type="bit"/> |
206 | + </method> |
207 | + <method name="alert" index="30"> |
208 | + <chassis name="client" implement="MUST"/> |
209 | + <field name="reply code" domain="reply code"/> |
210 | + <field name="reply text" domain="reply text"/> |
211 | + <field name="details" type="table"/> |
212 | + </method> |
213 | + <method name="close" synchronous="1" index="40"> |
214 | + <chassis name="client" implement="MUST"/> |
215 | + <chassis name="server" implement="MUST"/> |
216 | + <response name="close-ok"/> |
217 | + <field name="reply code" domain="reply code"/> |
218 | + <field name="reply text" domain="reply text"/> |
219 | + <field name="class id" domain="class id"/> |
220 | + <field name="method id" domain="method id"/> |
221 | + </method> |
222 | + <method name="close-ok" synchronous="1" index="41"> |
223 | + <chassis name="client" implement="MUST"/> |
224 | + <chassis name="server" implement="MUST"/> |
225 | + </method> |
226 | + </class> |
227 | + <class name="access" handler="connection" index="30"> |
228 | + <chassis name="server" implement="MUST"/> |
229 | + <chassis name="client" implement="MUST"/> |
230 | + <method name="request" synchronous="1" index="10"> |
231 | + <chassis name="server" implement="MUST"/> |
232 | + <response name="request-ok"/> |
233 | + <field name="realm" domain="path"/> |
234 | + <field name="exclusive" type="bit"/> |
235 | + <field name="passive" type="bit"/> |
236 | + <field name="active" type="bit"/> |
237 | + <field name="write" type="bit"/> |
238 | + <field name="read" type="bit"/> |
239 | + </method> |
240 | + <method name="request-ok" synchronous="1" index="11"> |
241 | + <chassis name="client" implement="MUST"/> |
242 | + <field name="ticket" domain="access ticket"/> |
243 | + </method> |
244 | + </class> |
245 | + <class name="exchange" handler="channel" index="40"> |
246 | + <chassis name="server" implement="MUST"/> |
247 | + <chassis name="client" implement="MUST"/> |
248 | + <method name="declare" synchronous="1" index="10"> |
249 | + <chassis name="server" implement="MUST"/> |
250 | + <response name="declare-ok"/> |
251 | + <field name="ticket" domain="access ticket"/> |
252 | + <field name="exchange" domain="exchange name"> |
253 | + <assert check="regexp" value="^[a-zA-Z0-9-_.:]+$"/> |
254 | + </field> |
255 | + <field name="type" type="shortstr"> |
256 | + <assert check="regexp" value="^[a-zA-Z0-9-_.:]+$"/> |
257 | + </field> |
258 | + <field name="passive" type="bit"/> |
259 | + <field name="durable" type="bit"/> |
260 | + <field name="auto delete" type="bit"/> |
261 | + <field name="internal" type="bit"/> |
262 | + <field name="nowait" type="bit"/> |
263 | + <field name="arguments" type="table"/> |
264 | + </method> |
265 | + <method name="declare-ok" synchronous="1" index="11"> |
266 | + <chassis name="client" implement="MUST"/> |
267 | + </method> |
268 | + <method name="delete" synchronous="1" index="20"> |
269 | + <chassis name="server" implement="MUST"/> |
270 | + <response name="delete-ok"/> |
271 | + <field name="ticket" domain="access ticket"/> |
272 | + <field name="exchange" domain="exchange name"> |
273 | + <assert check="notnull"/> |
274 | + </field> |
275 | + <field name="if unused" type="bit"/> |
276 | + <field name="nowait" type="bit"/> |
277 | + </method> |
278 | + <method name="delete-ok" synchronous="1" index="21"> |
279 | + <chassis name="client" implement="MUST"/> |
280 | + </method> |
281 | + </class> |
282 | + <class name="queue" handler="channel" index="50"> |
283 | + <chassis name="server" implement="MUST"/> |
284 | + <chassis name="client" implement="MUST"/> |
285 | + <method name="declare" synchronous="1" index="10"> |
286 | + <chassis name="server" implement="MUST"/> |
287 | + <response name="declare-ok"/> |
288 | + <field name="ticket" domain="access ticket"/> |
289 | + <field name="queue" domain="queue name"> |
290 | + <assert check="regexp" value="^[a-zA-Z0-9-_.:]*$"/> |
291 | + </field> |
292 | + <field name="passive" type="bit"/> |
293 | + <field name="durable" type="bit"/> |
294 | + <field name="exclusive" type="bit"/> |
295 | + <field name="auto delete" type="bit"/> |
296 | + <field name="nowait" type="bit"/> |
297 | + <field name="arguments" type="table"/> |
298 | + </method> |
299 | + <method name="declare-ok" synchronous="1" index="11"> |
300 | + <chassis name="client" implement="MUST"/> |
301 | + <field name="queue" domain="queue name"> |
302 | + <assert check="notnull"/> |
303 | + </field> |
304 | + <field name="message count" type="long"/> |
305 | + <field name="consumer count" type="long"/> |
306 | + </method> |
307 | + <method name="bind" synchronous="1" index="20"> |
308 | + <chassis name="server" implement="MUST"/> |
309 | + <response name="bind-ok"/> |
310 | + <field name="ticket" domain="access ticket"/> |
311 | + <field name="queue" domain="queue name"/> |
312 | + <field name="exchange" domain="exchange name"/> |
313 | + <field name="routing key" type="shortstr"/> |
314 | + <field name="nowait" type="bit"/> |
315 | + <field name="arguments" type="table"/> |
316 | + </method> |
317 | + <method name="bind-ok" synchronous="1" index="21"> |
318 | + <chassis name="client" implement="MUST"/> |
319 | + </method> |
320 | + <method name="unbind" synchronous="1" index="50"> |
321 | + <chassis name="server" implement="MUST"/> |
322 | + <response name="unbind-ok"/> |
323 | + <field name="ticket" domain="access ticket"/> |
324 | + <field name="queue" domain="queue name"/> |
325 | + <field name="exchange" domain="exchange name"/> |
326 | + <field name="routing key" domain="shortstr"/> |
327 | + <field name="arguments" domain="table"/> |
328 | + </method> |
329 | + <method name="unbind-ok" synchronous="1" index="51"> |
330 | + <chassis name="client" implement="MUST"/> |
331 | + </method> |
332 | + <method name="purge" synchronous="1" index="30"> |
333 | + <chassis name="server" implement="MUST"/> |
334 | + <response name="purge-ok"/> |
335 | + <field name="ticket" domain="access ticket"/> |
336 | + <field name="queue" domain="queue name"/> |
337 | + <field name="nowait" type="bit"/> |
338 | + </method> |
339 | + <method name="purge-ok" synchronous="1" index="31"> |
340 | + <chassis name="client" implement="MUST"/> |
341 | + <field name="message count" type="long"/> |
342 | + </method> |
343 | + <method name="delete" synchronous="1" index="40"> |
344 | + <chassis name="server" implement="MUST"/> |
345 | + <response name="delete-ok"/> |
346 | + <field name="ticket" domain="access ticket"/> |
347 | + <field name="queue" domain="queue name"/> |
348 | + <field name="if unused" type="bit"/> |
349 | + <field name="if empty" type="bit"> |
350 | + <test/> |
351 | + </field> |
352 | + <field name="nowait" type="bit"/> |
353 | + </method> |
354 | + <method name="delete-ok" synchronous="1" index="41"> |
355 | + <chassis name="client" implement="MUST"/> |
356 | + <field name="message count" type="long"/> |
357 | + </method> |
358 | + </class> |
359 | + <class name="basic" handler="channel" index="60"> |
360 | + <chassis name="server" implement="MUST"/> |
361 | + <chassis name="client" implement="MAY"/> |
362 | + <field name="content type" type="shortstr"/> |
363 | + <field name="content encoding" type="shortstr"/> |
364 | + <field name="headers" type="table"/> |
365 | + <field name="delivery mode" type="octet"/> |
366 | + <field name="priority" type="octet"/> |
367 | + <field name="correlation id" type="shortstr"/> |
368 | + <field name="reply to" type="shortstr"/> |
369 | + <field name="expiration" type="shortstr"/> |
370 | + <field name="message id" type="shortstr"/> |
371 | + <field name="timestamp" type="timestamp"/> |
372 | + <field name="type" type="shortstr"/> |
373 | + <field name="user id" type="shortstr"/> |
374 | + <field name="app id" type="shortstr"/> |
375 | + <field name="cluster id" type="shortstr"/> |
376 | + <method name="qos" synchronous="1" index="10"> |
377 | + <chassis name="server" implement="MUST"/> |
378 | + <response name="qos-ok"/> |
379 | + <field name="prefetch size" type="long"/> |
380 | + <field name="prefetch count" type="short"/> |
381 | + <field name="global" type="bit"/> |
382 | + </method> |
383 | + <method name="qos-ok" synchronous="1" index="11"> |
384 | + <chassis name="client" implement="MUST"/> |
385 | + </method> |
386 | + <method name="consume" synchronous="1" index="20"> |
387 | + <chassis name="server" implement="MUST"/> |
388 | + <response name="consume-ok"/> |
389 | + <field name="ticket" domain="access ticket"/> |
390 | + <field name="queue" domain="queue name"/> |
391 | + <field name="consumer tag" domain="consumer tag"/> |
392 | + <field name="no local" domain="no local"/> |
393 | + <field name="no ack" domain="no ack"/> |
394 | + <field name="exclusive" type="bit"/> |
395 | + <field name="nowait" type="bit"/> |
396 | + </method> |
397 | + <method name="consume-ok" synchronous="1" index="21"> |
398 | + <chassis name="client" implement="MUST"/> |
399 | + <field name="consumer tag" domain="consumer tag"/> |
400 | + </method> |
401 | + <method name="cancel" synchronous="1" index="30"> |
402 | + <chassis name="server" implement="MUST"/> |
403 | + <response name="cancel-ok"/> |
404 | + <field name="consumer tag" domain="consumer tag"/> |
405 | + <field name="nowait" type="bit"/> |
406 | + </method> |
407 | + <method name="cancel-ok" synchronous="1" index="31"> |
408 | + <chassis name="client" implement="MUST"/> |
409 | + <field name="consumer tag" domain="consumer tag"/> |
410 | + </method> |
411 | + <method name="publish" content="1" index="40"> |
412 | + <chassis name="server" implement="MUST"/> |
413 | + <field name="ticket" domain="access ticket"/> |
414 | + <field name="exchange" domain="exchange name"/> |
415 | + <field name="routing key" type="shortstr"/> |
416 | + <field name="mandatory" type="bit"/> |
417 | + <field name="immediate" type="bit"/> |
418 | + </method> |
419 | + <method name="return" content="1" index="50"> |
420 | + <chassis name="client" implement="MUST"/> |
421 | + <field name="reply code" domain="reply code"/> |
422 | + <field name="reply text" domain="reply text"/> |
423 | + <field name="exchange" domain="exchange name"/> |
424 | + <field name="routing key" type="shortstr"/> |
425 | + </method> |
426 | + <method name="deliver" content="1" index="60"> |
427 | + <chassis name="client" implement="MUST"/> |
428 | + <field name="consumer tag" domain="consumer tag"/> |
429 | + <field name="delivery tag" domain="delivery tag"/> |
430 | + <field name="redelivered" domain="redelivered"/> |
431 | + <field name="exchange" domain="exchange name"/> |
432 | + <field name="routing key" type="shortstr"/> |
433 | + </method> |
434 | + <method name="get" synchronous="1" index="70"> |
435 | + <response name="get-ok"/> |
436 | + <response name="get-empty"/> |
437 | + <chassis name="server" implement="MUST"/> |
438 | + <field name="ticket" domain="access ticket"/> |
439 | + <field name="queue" domain="queue name"/> |
440 | + <field name="no ack" domain="no ack"/> |
441 | + </method> |
442 | + <method name="get-ok" synchronous="1" content="1" index="71"> |
443 | + <chassis name="client" implement="MAY"/> |
444 | + <field name="delivery tag" domain="delivery tag"/> |
445 | + <field name="redelivered" domain="redelivered"/> |
446 | + <field name="exchange" domain="exchange name"/> |
447 | + <field name="routing key" type="shortstr"/> |
448 | + <field name="message count" type="long"/> |
449 | + </method> |
450 | + <method name="get-empty" synchronous="1" index="72"> |
451 | + <chassis name="client" implement="MAY"/> |
452 | + <field name="cluster id" type="shortstr"/> |
453 | + </method> |
454 | + <method name="ack" index="80"> |
455 | + <chassis name="server" implement="MUST"/> |
456 | + <field name="delivery tag" domain="delivery tag"/> |
457 | + <field name="multiple" type="bit"/> |
458 | + </method> |
459 | + <method name="reject" index="90"> |
460 | + <chassis name="server" implement="MUST"/> |
461 | + <field name="delivery tag" domain="delivery tag"/> |
462 | + <field name="requeue" type="bit"/> |
463 | + </method> |
464 | + <method name="recover" index="100"> |
465 | + <chassis name="server" implement="MUST"/> |
466 | + <field name="requeue" type="bit"/> |
467 | + </method> |
468 | + </class> |
469 | + <class name="file" handler="channel" index="70"> |
470 | + <chassis name="server" implement="MAY"/> |
471 | + <chassis name="client" implement="MAY"/> |
472 | + <field name="content type" type="shortstr"/> |
473 | + <field name="content encoding" type="shortstr"/> |
474 | + <field name="headers" type="table"/> |
475 | + <field name="priority" type="octet"/> |
476 | + <field name="reply to" type="shortstr"/> |
477 | + <field name="message id" type="shortstr"/> |
478 | + <field name="filename" type="shortstr"/> |
479 | + <field name="timestamp" type="timestamp"/> |
480 | + <field name="cluster id" type="shortstr"/> |
481 | + <method name="qos" synchronous="1" index="10"> |
482 | + <chassis name="server" implement="MUST"/> |
483 | + <response name="qos-ok"/> |
484 | + <field name="prefetch size" type="long"/> |
485 | + <field name="prefetch count" type="short"/> |
486 | + <field name="global" type="bit"/> |
487 | + </method> |
488 | + <method name="qos-ok" synchronous="1" index="11"> |
489 | + <chassis name="client" implement="MUST"/> |
490 | + </method> |
491 | + <method name="consume" synchronous="1" index="20"> |
492 | + <chassis name="server" implement="MUST"/> |
493 | + <response name="consume-ok"/> |
494 | + <field name="ticket" domain="access ticket"/> |
495 | + <field name="queue" domain="queue name"/> |
496 | + <field name="consumer tag" domain="consumer tag"/> |
497 | + <field name="no local" domain="no local"/> |
498 | + <field name="no ack" domain="no ack"/> |
499 | + <field name="exclusive" type="bit"/> |
500 | + <field name="nowait" type="bit"/> |
501 | + </method> |
502 | + <method name="consume-ok" synchronous="1" index="21"> |
503 | + <chassis name="client" implement="MUST"/> |
504 | + <field name="consumer tag" domain="consumer tag"/> |
505 | + </method> |
506 | + <method name="cancel" synchronous="1" index="30"> |
507 | + <chassis name="server" implement="MUST"/> |
508 | + <response name="cancel-ok"/> |
509 | + <field name="consumer tag" domain="consumer tag"/> |
510 | + <field name="nowait" type="bit"/> |
511 | + </method> |
512 | + <method name="cancel-ok" synchronous="1" index="31"> |
513 | + <chassis name="client" implement="MUST"/> |
514 | + <field name="consumer tag" domain="consumer tag"/> |
515 | + </method> |
516 | + <method name="open" synchronous="1" index="40"> |
517 | + <response name="open-ok"/> |
518 | + <chassis name="server" implement="MUST"/> |
519 | + <chassis name="client" implement="MUST"/> |
520 | + <field name="identifier" type="shortstr"/> |
521 | + <field name="content size" type="longlong"/> |
522 | + </method> |
523 | + <method name="open-ok" synchronous="1" index="41"> |
524 | + <response name="stage"/> |
525 | + <chassis name="server" implement="MUST"/> |
526 | + <chassis name="client" implement="MUST"/> |
527 | + <field name="staged size" type="longlong"/> |
528 | + </method> |
529 | + <method name="stage" content="1" index="50"> |
530 | + <chassis name="server" implement="MUST"/> |
531 | + <chassis name="client" implement="MUST"/> |
532 | + </method> |
533 | + <method name="publish" index="60"> |
534 | + <chassis name="server" implement="MUST"/> |
535 | + <field name="ticket" domain="access ticket"/> |
536 | + <field name="exchange" domain="exchange name"/> |
537 | + <field name="routing key" type="shortstr"/> |
538 | + <field name="mandatory" type="bit"/> |
539 | + <field name="immediate" type="bit"/> |
540 | + <field name="identifier" type="shortstr"/> |
541 | + </method> |
542 | + <method name="return" content="1" index="70"> |
543 | + <chassis name="client" implement="MUST"/> |
544 | + <field name="reply code" domain="reply code"/> |
545 | + <field name="reply text" domain="reply text"/> |
546 | + <field name="exchange" domain="exchange name"/> |
547 | + <field name="routing key" type="shortstr"/> |
548 | + </method> |
549 | + <method name="deliver" index="80"> |
550 | + <chassis name="client" implement="MUST"/> |
551 | + <field name="consumer tag" domain="consumer tag"/> |
552 | + <field name="delivery tag" domain="delivery tag"/> |
553 | + <field name="redelivered" domain="redelivered"/> |
554 | + <field name="exchange" domain="exchange name"/> |
555 | + <field name="routing key" type="shortstr"/> |
556 | + <field name="identifier" type="shortstr"/> |
557 | + </method> |
558 | + <method name="ack" index="90"> |
559 | + <chassis name="server" implement="MUST"/> |
560 | + <field name="delivery tag" domain="delivery tag"/> |
561 | + <field name="multiple" type="bit"/> |
562 | + </method> |
563 | + <method name="reject" index="100"> |
564 | + <chassis name="server" implement="MUST"/> |
565 | + <field name="delivery tag" domain="delivery tag"/> |
566 | + <field name="requeue" type="bit"/> |
567 | + </method> |
568 | + </class> |
569 | + <class name="stream" handler="channel" index="80"> |
570 | + <chassis name="server" implement="MAY"/> |
571 | + <chassis name="client" implement="MAY"/> |
572 | + <field name="content type" type="shortstr"/> |
573 | + <field name="content encoding" type="shortstr"/> |
574 | + <field name="headers" type="table"/> |
575 | + <field name="priority" type="octet"/> |
576 | + <field name="timestamp" type="timestamp"/> |
577 | + <method name="qos" synchronous="1" index="10"> |
578 | + <chassis name="server" implement="MUST"/> |
579 | + <response name="qos-ok"/> |
580 | + <field name="prefetch size" type="long"/> |
581 | + <field name="prefetch count" type="short"/> |
582 | + <field name="consume rate" type="long"/> |
583 | + <field name="global" type="bit"/> |
584 | + </method> |
585 | + <method name="qos-ok" synchronous="1" index="11"> |
586 | + <chassis name="client" implement="MUST"/> |
587 | + </method> |
588 | + <method name="consume" synchronous="1" index="20"> |
589 | + <chassis name="server" implement="MUST"/> |
590 | + <response name="consume-ok"/> |
591 | + <field name="ticket" domain="access ticket"/> |
592 | + <field name="queue" domain="queue name"/> |
593 | + <field name="consumer tag" domain="consumer tag"/> |
594 | + <field name="no local" domain="no local"/> |
595 | + <field name="exclusive" type="bit"/> |
596 | + <field name="nowait" type="bit"/> |
597 | + </method> |
598 | + <method name="consume-ok" synchronous="1" index="21"> |
599 | + <chassis name="client" implement="MUST"/> |
600 | + <field name="consumer tag" domain="consumer tag"/> |
601 | + </method> |
602 | + <method name="cancel" synchronous="1" index="30"> |
603 | + <chassis name="server" implement="MUST"/> |
604 | + <response name="cancel-ok"/> |
605 | + <field name="consumer tag" domain="consumer tag"/> |
606 | + <field name="nowait" type="bit"/> |
607 | + </method> |
608 | + <method name="cancel-ok" synchronous="1" index="31"> |
609 | + <chassis name="client" implement="MUST"/> |
610 | + <field name="consumer tag" domain="consumer tag"/> |
611 | + </method> |
612 | + <method name="publish" content="1" index="40"> |
613 | + <chassis name="server" implement="MUST"/> |
614 | + <field name="ticket" domain="access ticket"/> |
615 | + <field name="exchange" domain="exchange name"/> |
616 | + <field name="routing key" type="shortstr"/> |
617 | + <field name="mandatory" type="bit"/> |
618 | + <field name="immediate" type="bit"/> |
619 | + </method> |
620 | + <method name="return" content="1" index="50"> |
621 | + <chassis name="client" implement="MUST"/> |
622 | + <field name="reply code" domain="reply code"/> |
623 | + <field name="reply text" domain="reply text"/> |
624 | + <field name="exchange" domain="exchange name"/> |
625 | + <field name="routing key" type="shortstr"/> |
626 | + </method> |
627 | + <method name="deliver" content="1" index="60"> |
628 | + <chassis name="client" implement="MUST"/> |
629 | + <field name="consumer tag" domain="consumer tag"/> |
630 | + <field name="delivery tag" domain="delivery tag"/> |
631 | + <field name="exchange" domain="exchange name"/> |
632 | + <field name="queue" domain="queue name"> |
633 | + <assert check="notnull"/> |
634 | + </field> |
635 | + </method> |
636 | + </class> |
637 | + <class name="tx" handler="channel" index="90"> |
638 | + <chassis name="server" implement="SHOULD"/> |
639 | + <chassis name="client" implement="MAY"/> |
640 | + <method name="select" synchronous="1" index="10"> |
641 | + <chassis name="server" implement="MUST"/> |
642 | + <response name="select-ok"/> |
643 | + </method> |
644 | + <method name="select-ok" synchronous="1" index="11"> |
645 | + <chassis name="client" implement="MUST"/> |
646 | + </method> |
647 | + <method name="commit" synchronous="1" index="20"> |
648 | + <chassis name="server" implement="MUST"/> |
649 | + <response name="commit-ok"/> |
650 | + </method> |
651 | + <method name="commit-ok" synchronous="1" index="21"> |
652 | + <chassis name="client" implement="MUST"/> |
653 | + </method> |
654 | + <method name="rollback" synchronous="1" index="30"> |
655 | + <chassis name="server" implement="MUST"/> |
656 | + <response name="rollback-ok"/> |
657 | + </method> |
658 | + <method name="rollback-ok" synchronous="1" index="31"> |
659 | + <chassis name="client" implement="MUST"/> |
660 | + </method> |
661 | + </class> |
662 | + <class name="dtx" handler="channel" index="100"> |
663 | + <chassis name="server" implement="MAY"/> |
664 | + <chassis name="client" implement="MAY"/> |
665 | + <method name="select" synchronous="1" index="10"> |
666 | + <chassis name="server" implement="MUST"/> |
667 | + <response name="select-ok"/> |
668 | + </method> |
669 | + <method name="select-ok" synchronous="1" index="11"> |
670 | + <chassis name="client" implement="MUST"/> |
671 | + </method> |
672 | + <method name="start" synchronous="1" index="20"> |
673 | + <chassis name="server" implement="MAY"/> |
674 | + <response name="start-ok"/> |
675 | + <field name="dtx identifier" type="shortstr"> |
676 | + <assert check="notnull"/> |
677 | + </field> |
678 | + </method> |
679 | + <method name="start-ok" synchronous="1" index="21"> |
680 | + <chassis name="client" implement="MUST"/> |
681 | + </method> |
682 | + </class> |
683 | + <class name="tunnel" handler="tunnel" index="110"> |
684 | + <chassis name="server" implement="MAY"/> |
685 | + <chassis name="client" implement="MAY"/> |
686 | + <field name="headers" type="table"/> |
687 | + <field name="proxy name" type="shortstr"/> |
688 | + <field name="data name" type="shortstr"/> |
689 | + <field name="durable" type="octet"/> |
690 | + <field name="broadcast" type="octet"/> |
691 | + <method name="request" content="1" index="10"> |
692 | + <chassis name="server" implement="MUST"/> |
693 | + <field name="meta data" type="table"/> |
694 | + </method> |
695 | + </class> |
696 | + <class name="test" handler="channel" index="120"> |
697 | + <chassis name="server" implement="MUST"/> |
698 | + <chassis name="client" implement="SHOULD"/> |
699 | + <method name="integer" synchronous="1" index="10"> |
700 | + <chassis name="client" implement="MUST"/> |
701 | + <chassis name="server" implement="MUST"/> |
702 | + <response name="integer-ok"/> |
703 | + <field name="integer 1" type="octet"/> |
704 | + <field name="integer 2" type="short"/> |
705 | + <field name="integer 3" type="long"/> |
706 | + <field name="integer 4" type="longlong"/> |
707 | + <field name="operation" type="octet"> |
708 | + <assert check="enum"> |
709 | + <value name="add"/> |
710 | + <value name="min"/> |
711 | + <value name="max"/> |
712 | + </assert> |
713 | + </field> |
714 | + </method> |
715 | + <method name="integer-ok" synchronous="1" index="11"> |
716 | + <chassis name="client" implement="MUST"/> |
717 | + <chassis name="server" implement="MUST"/> |
718 | + <field name="result" type="longlong"/> |
719 | + </method> |
720 | + <method name="string" synchronous="1" index="20"> |
721 | + <chassis name="client" implement="MUST"/> |
722 | + <chassis name="server" implement="MUST"/> |
723 | + <response name="string-ok"/> |
724 | + <field name="string 1" type="shortstr"/> |
725 | + <field name="string 2" type="longstr"/> |
726 | + <field name="operation" type="octet"> |
727 | + <assert check="enum"> |
728 | + <value name="add"/> |
729 | + <value name="min"/> |
730 | + <value name="max"/> |
731 | + </assert> |
732 | + </field> |
733 | + </method> |
734 | + <method name="string-ok" synchronous="1" index="21"> |
735 | + <chassis name="client" implement="MUST"/> |
736 | + <chassis name="server" implement="MUST"/> |
737 | + <field name="result" type="longstr"/> |
738 | + </method> |
739 | + <method name="table" synchronous="1" index="30"> |
740 | + <chassis name="client" implement="MUST"/> |
741 | + <chassis name="server" implement="MUST"/> |
742 | + <response name="table-ok"/> |
743 | + <field name="table" type="table"/> |
744 | + <field name="integer op" type="octet"> |
745 | + <assert check="enum"> |
746 | + <value name="add"/> |
747 | + <value name="min"/> |
748 | + <value name="max"/> |
749 | + </assert> |
750 | + </field> |
751 | + <field name="string op" type="octet"> |
752 | + <assert check="enum"> |
753 | + <value name="add"/> |
754 | + <value name="min"/> |
755 | + <value name="max"/> |
756 | + </assert> |
757 | + </field> |
758 | + </method> |
759 | + <method name="table-ok" synchronous="1" index="31"> |
760 | + <chassis name="client" implement="MUST"/> |
761 | + <chassis name="server" implement="MUST"/> |
762 | + <field name="integer result" type="longlong"/> |
763 | + <field name="string result" type="longstr"/> |
764 | + </method> |
765 | + <method name="content" synchronous="1" content="1" index="40"> |
766 | + <chassis name="client" implement="MUST"/> |
767 | + <chassis name="server" implement="MUST"/> |
768 | + <response name="content-ok"/> |
769 | + </method> |
770 | + <method name="content-ok" synchronous="1" content="1" index="41"> |
771 | + <chassis name="client" implement="MUST"/> |
772 | + <chassis name="server" implement="MUST"/> |
773 | + <field name="content checksum" type="long"/> |
774 | + </method> |
775 | + </class> |
776 | +</amqp> |