YUKI Hiroshi
null+****@clear*****
Wed Apr 29 02:23:24 JST 2015
YUKI Hiroshi 2015-04-29 02:23:24 +0900 (Wed, 29 Apr 2015) New Revision: dacf5ae8db4dfbbe9e87df120b6d1dabecaa5da7 https://github.com/droonga/droonga.org/commit/dacf5ae8db4dfbbe9e87df120b6d1dabecaa5da7 Message: Add descriptions about targetRole field of envelope Modified files: reference/1.1.0/message/index.md Modified: reference/1.1.0/message/index.md (+18 -0) =================================================================== --- reference/1.1.0/message/index.md 2015-04-28 23:20:13 +0900 (c987a64) +++ reference/1.1.0/message/index.md 2015-04-29 02:23:24 +0900 (1948609) @@ -17,6 +17,7 @@ The basic format of a request message is like following: "replyTo" : "<Route to the receiver>", "dataset" : "<Name of the target dataset>", "timeout" : <Seconds to wait for the result>, + "targetRole" : "<Name of the target role>", "body" : <Body of the message> } @@ -75,6 +76,23 @@ Value Default value : `60` (means one minute). This is optional. +### `targetRole` {#request-targetRole} + +Abstract +: The role of the target engine node. + If the node received the message has a role different to this field, the message will be bounced to another engine node with the role. + Messages with no `targetRole` or the special value `"any"` will be processed by the receiver node. + +Value +: `null`, `"any"`, or one of following role: + + * `"service-provider"` + * `"absorb-source"` + * `"absorb-destination"` + +Default value +: `null`. This is optional. + ### `body` {#request-body} Abstract -------------- next part -------------- HTML����������������������������... Download