summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2011-02-03 11:44:18 +0000
committerSimon MacMullen <simon@rabbitmq.com>2011-02-03 11:44:18 +0000
commitd15dae53668479a1b92ba5aefd00ea421f5d0366 (patch)
treeac344e6ae28807d7852d3712d4570024791421fb
parent76c7521b205c7e05973e601a66aecb5a9718751e (diff)
downloadrabbitmq-codegen-d15dae53668479a1b92ba5aefd00ea421f5d0366.tar.gz
Mark basic.credit as synchronous, so that clients can interpret the credit-state as the reply. I *think* this is non-evil.
-rw-r--r--amqp-rabbitmq-0.9.1.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/amqp-rabbitmq-0.9.1.json b/amqp-rabbitmq-0.9.1.json
index 2ca95df..f37304c 100644
--- a/amqp-rabbitmq-0.9.1.json
+++ b/amqp-rabbitmq-0.9.1.json
@@ -329,7 +329,8 @@
"arguments": [{"type": "shortstr", "name": "consumer-tag", "default-value": ""},
{"type": "long", "name": "credit"},
{"type": "bit", "name": "drain"}],
- "name": "credit"},
+ "name": "credit",
+ "synchronous" : true},
{"id": 13,
"arguments": [{"type": "shortstr", "name": "consumer-tag", "default-value": ""},
{"type": "long", "name": "credit"},