summaryrefslogtreecommitdiff
path: root/amqp-rabbitmq-0.9.1.json
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2013-01-29 13:56:52 +0000
committerSimon MacMullen <simon@rabbitmq.com>2013-01-29 13:56:52 +0000
commitde2a7e09f1dfe0c4b5f3a27207bd85e506ccbf7e (patch)
treebbc79e88d0ae04463cd394f4f734bdf1f535ac33 /amqp-rabbitmq-0.9.1.json
parent521ae4862b82215419c8ed296dfd54c5fbcf5f61 (diff)
downloadrabbitmq-codegen-de2a7e09f1dfe0c4b5f3a27207bd85e506ccbf7e.tar.gz
Simplify: convert basic.credit_state to basic.credit_drained, which implicitly asserts that credit is 0, length 0 and drain is true, and tells you how much credit was discarded rather than the new delivery count (so we can soon remove all delivery count code from the broker).
Diffstat (limited to 'amqp-rabbitmq-0.9.1.json')
-rw-r--r--amqp-rabbitmq-0.9.1.json7
1 files changed, 2 insertions, 5 deletions
diff --git a/amqp-rabbitmq-0.9.1.json b/amqp-rabbitmq-0.9.1.json
index 7a2dbd8..2f47cff 100644
--- a/amqp-rabbitmq-0.9.1.json
+++ b/amqp-rabbitmq-0.9.1.json
@@ -422,11 +422,8 @@
"name": "credit-ok"},
{"id": 259,
"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"}],
+ {"type": "long", "name": "credit-drained"}],
+ "name": "credit-drained"}],
"name": "basic",
"properties": [{"type": "shortstr", "name": "content-type"},
{"type": "shortstr", "name": "content-encoding"},