summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmile Joubert <emile@rabbitmq.com>2013-04-29 11:01:21 +0100
committerEmile Joubert <emile@rabbitmq.com>2013-04-29 11:01:21 +0100
commit0ca5649c0d863d156353007817ef85e2db751b08 (patch)
treefa45aa131deb118ee01818e29a368d6409782343
parent6d99ff5915a8b8c9193632cba843ad659e919b6e (diff)
parentb3de146df2402c29943b7bb70e67bc58e141030b (diff)
downloadrabbitmq-codegen-0ca5649c0d863d156353007817ef85e2db751b08.tar.gz
Merged bug25527rabbitmq_v3_1_0
-rw-r--r--amqp-rabbitmq-0.9.1.json15
-rw-r--r--credit_extension.json54
2 files changed, 55 insertions, 14 deletions
diff --git a/amqp-rabbitmq-0.9.1.json b/amqp-rabbitmq-0.9.1.json
index ddb0fa6..141e37b 100644
--- a/amqp-rabbitmq-0.9.1.json
+++ b/amqp-rabbitmq-0.9.1.json
@@ -409,20 +409,7 @@
"arguments": [{"type": "longlong", "name": "delivery-tag", "default-value": 0},
{"type": "bit", "name": "multiple", "default-value": false},
{"type": "bit", "name": "requeue", "default-value": true}],
- "name": "nack"},
- {"id": 257,
- "arguments": [{"type": "shortstr", "name": "consumer-tag", "default-value": ""},
- {"type": "long", "name": "credit"},
- {"type": "bit", "name": "drain"}],
- "name": "credit",
- "synchronous" : true},
- {"id": 258,
- "arguments": [{"type": "long", "name": "available"}],
- "name": "credit-ok"},
- {"id": 259,
- "arguments": [{"type": "shortstr", "name": "consumer-tag", "default-value": ""},
- {"type": "long", "name": "credit-drained"}],
- "name": "credit-drained"}],
+ "name": "nack"}],
"name": "basic",
"properties": [{"type": "shortstr", "name": "content-type"},
{"type": "shortstr", "name": "content-encoding"},
diff --git a/credit_extension.json b/credit_extension.json
new file mode 100644
index 0000000..b983345
--- /dev/null
+++ b/credit_extension.json
@@ -0,0 +1,54 @@
+{
+ "extension": {
+ "name": "credit",
+ "version": "0.1",
+ "status": [
+ "This extension is used internally by the broker and plugins. ",
+ "It is NOT intended to be used by regular clients over the ",
+ "network. This extension is subject to change without notice; ",
+ "hence you are strongly discouraged from building clients ",
+ "which use it."],
+ "copyright": [
+ "Copyright (C) 2008-2013 VMware, Inc.\n",
+ "\n",
+ "Permission is hereby granted, free of charge, to any person\n",
+ "obtaining a copy of this file (the \"Software\"), to deal in the\n",
+ "Software without restriction, including without limitation the \n",
+ "rights to use, copy, modify, merge, publish, distribute, \n",
+ "sublicense, and/or sell copies of the Software, and to permit \n",
+ "persons to whom the Software is furnished to do so, subject to \n",
+ "the following conditions:\n",
+ "\n",
+ "The above copyright notice and this permission notice shall be\n",
+ "included in all copies or substantial portions of the Software.\n",
+ "\n",
+ "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n",
+ "EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\n",
+ "OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n",
+ "NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n",
+ "HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n",
+ "WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n",
+ "FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n",
+ "OTHER DEALINGS IN THE SOFTWARE.\n"]
+ },
+
+ "classes": [
+ {
+ "id": 60,
+ "methods": [{"id": 200,
+ "arguments": [{"type": "shortstr", "name": "consumer-tag", "default-value": ""},
+ {"type": "long", "name": "credit"},
+ {"type": "bit", "name": "drain"}],
+ "name": "credit",
+ "synchronous" : true},
+ {"id": 201,
+ "arguments": [{"type": "long", "name": "available"}],
+ "name": "credit-ok"},
+ {"id": 202,
+ "arguments": [{"type": "shortstr", "name": "consumer-tag", "default-value": ""},
+ {"type": "long", "name": "credit-drained"}],
+ "name": "credit-drained"}],
+ "name": "basic"
+ }
+ ]
+}