Closed sdruesedow closed 8 years ago
there is no Header message object. Vertx dev branch should already be aligned with the message specs
OK, thanks!
I had this question a while back too. Example of a reTHINK message format created by the message factory looks like this.
{"id":"8b5f8e86-1a5f-4025-a4d7-1c47c819bf3a","from":"hyperty-runtime-esn://domain.com/12345","to":"[hyperty-runtime-imei://domain.com/12345, hyperty-runtime-imei://domain.com/678910]","type":"create","contextId":"a7317660-bfa1-4830-b03f-278a814d2feb","signature":null,"body":{"accessToken":null,"resource":"hyperty-runtime-uuid://domain.com/myResource","value":"{audio: 'PCMU-Codec'}","policy":"policyURL"}}
Please anyone, shout if this format is wrong.
Do the "id", "type", "from" and "to" fields need to be wrapped in a "header" object or not?
The examples in the specs currently don't do it, but the Vertx implementations does. Which one is the agreed format?