diff options
author | Alexandru Scvortov <alexandru@rabbitmq.com> | 2010-08-10 15:12:09 +0100 |
---|---|---|
committer | Alexandru Scvortov <alexandru@rabbitmq.com> | 2010-08-10 15:12:09 +0100 |
commit | 037af39acb23edd32925a27497e350ffc2ce1828 (patch) | |
tree | b8dc75328f6f695a811ebac153ae830c7c0cab80 | |
parent | bf2592bef9e280d3f3d5a9bd8468141a088779fc (diff) | |
download | rabbitmq-codegen-037af39acb23edd32925a27497e350ffc2ce1828.tar.gz |
added Publisher Acks class and methods
This introduces one new class and two new methods within said class.
> puback
> class-id: 85
>
> puback.select{many : bit}
> put the channel into one of the two publisher ack modes, namely
> "ack publisher messages as soon as they arrive" or "let them
> pile up a bit and ack many messages at once"; this cannot be
> called on a transacted channel
>
> puback.deselect{}
> handle any outstanding acks, put the channel back in the normal
> mode, then return
-rw-r--r-- | demo_extension.json | 2 | ||||
-rw-r--r-- | puback-extension.json | 27 |
2 files changed, 28 insertions, 1 deletions
diff --git a/demo_extension.json b/demo_extension.json index 4a65dbe..38ed2a4 100644 --- a/demo_extension.json +++ b/demo_extension.json @@ -15,4 +15,4 @@ "id": 555, "methods": [{"name": "one", "id": 1, "arguments": []}]} ] -}
\ No newline at end of file +} diff --git a/puback-extension.json b/puback-extension.json new file mode 100644 index 0000000..d90e4b5 --- /dev/null +++ b/puback-extension.json @@ -0,0 +1,27 @@ +{ + "extension": { + "name": "puback", + "version": "0.1", + "copyright": "Copyright (C) 2010 SpringSource" + }, + "domains": [ + ], + "constants": [ + ], + "classes": [ + {"name": "puback", + "id": 85, + "methods": [ + {"name": "select", + "id": 10, + "arguments": [ + {"type": "bit", "name": "many", "default-value": false} + ]}, + {"name": "deselect", + "id": 20, + "arguments": [], + "synchronous": true + } + ]} + ] +} |