diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2013-01-29 13:56:52 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2013-01-29 13:56:52 +0000 |
commit | 943920cf9dc14a9d3074becfdf61c8a5c1cdb6e2 (patch) | |
tree | bbc79e88d0ae04463cd394f4f734bdf1f535ac33 /amqp-rabbitmq-0.9.1.json | |
parent | 9fd2fc68d63648b450ac34926e04bdeacdf12c89 (diff) | |
download | rabbitmq-codegen-git-943920cf9dc14a9d3074becfdf61c8a5c1cdb6e2.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.json | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/amqp-rabbitmq-0.9.1.json b/amqp-rabbitmq-0.9.1.json index 7a2dbd82..2f47cff0 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"}, |