summaryrefslogtreecommitdiff
path: root/amqp-rabbitmq-0.9.1.json
diff options
context:
space:
mode:
authorMichael Bridgen <mikeb@rabbitmq.com>2011-02-09 16:26:29 +0000
committerMichael Bridgen <mikeb@rabbitmq.com>2011-02-09 16:26:29 +0000
commita0e9ddb950d000ea6b0fec3437644200f30dff55 (patch)
tree0e764c6f099e32cada87d18df1f7b2f4fc3e0bae /amqp-rabbitmq-0.9.1.json
parent9ee1b485ea9941a96f1d281cea5cb1a017db4f81 (diff)
downloadrabbitmq-codegen-a0e9ddb950d000ea6b0fec3437644200f30dff55.tar.gz
Add count as a base for credit. This means messages in flight can be accounted for -- the sender of basic.credit may not have received all the messages the queue has delivered.
Diffstat (limited to 'amqp-rabbitmq-0.9.1.json')
-rw-r--r--amqp-rabbitmq-0.9.1.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/amqp-rabbitmq-0.9.1.json b/amqp-rabbitmq-0.9.1.json
index 3f1bd44..f237346 100644
--- a/amqp-rabbitmq-0.9.1.json
+++ b/amqp-rabbitmq-0.9.1.json
@@ -327,6 +327,7 @@
"name": "qos-ok"},
{"id": 12,
"arguments": [{"type": "shortstr", "name": "consumer-tag", "default-value": ""},
+ {"type": "long", "name": "count"},
{"type": "long", "name": "credit"},
{"type": "bit", "name": "drain"}],
"name": "credit",
@@ -337,6 +338,7 @@
{"id": 14,
"arguments": [{"type": "shortstr", "name": "consumer-tag", "default-value": ""},
{"type": "long", "name": "credit"},
+ {"type": "long", "name": "count"},
{"type": "long", "name": "available"},
{"type": "bit", "name": "drain"}],
"name": "credit-state"},