5959 - ` Binary ` - Sequence of bytes.
6060 - ` KeyValue ` - ` String ` -indexed dictionary of ` String ` -typed or ` Binary ` -typed or ` Numeric ` -typed values
6161 - ` Numeric ` :
62- - ` Short ` - Integer in the range -(2^15) to 2^15 - 1 inclusive.
63- - ` Integer ` - Integer in the range -(2^31) to 2^31 - 1 inclusive.
64- - ` Long ` - Integer in the range -(2^63) to 2^63 - 1 inclusive.
65- - ` Float ` - A 32-bit floating point number (binary32 [ IEEE754] ( http://ieeexplore.ieee.org/servlet/opac?punumber=4610933 ) ).
66- - ` Double ` - A 64-bit floating point number (binary64 [ IEEE754] ( http://ieeexplore.ieee.org/servlet/opac?punumber=4610933 ) ).
62+ - ` Short ` - Integer in the range -(2^15) to 2^15 - 1 inclusive.
63+ - ` Integer ` - Integer in the range -(2^31) to 2^31 - 1 inclusive.
64+ - ` Long ` - Integer in the range -(2^63) to 2^63 - 1 inclusive.
65+ - ` Float ` - A 32-bit floating point number (binary32 [ IEEE754] ( http://ieeexplore.ieee.org/servlet/opac?punumber=4610933 ) ).
66+ - ` Double ` - A 64-bit floating point number (binary64 [ IEEE754] ( http://ieeexplore.ieee.org/servlet/opac?punumber=4610933 ) ).
6767 - ` Object ` - Either a ` String ` , or a ` Binary ` , or a ` KeyValue ` , or a ` Numeric `
6868 - ` URI ` - String expression conforming to ` URI-reference `
6969 as defined in
134134#### 2.3.4 qos
135135 - Type: ` Integer `
136136 - Description: OpenMessaging defines three modes of message delivery as mentioned before:
137- ** At least once** : if this value set with 0, a message will be consumed at least once, and this value should be set as default value.
138- ** At most once** : if this value set with 1, a message will be consumed at most once, in this semantics, messages may be lost.
139- ** Exactly once** : if this value set with 2, a message will be consumed once and only once.
137+ + ** At least once** : if this value set with 0, a message will be consumed at least once, and this value should be set as default value.
138+ + ** At most once** : if this value set with 1, a message will be consumed at most once, in this semantics, messages may be lost.
139+ + ** Exactly once** : if this value set with 2, a message will be consumed once and only once.
140140
141141
142142#### 2.3.5 compression
146146 - Constraints: OPTIONAL
147147
148148#### 2.3.6 destination
149- -Type: ` String `
150- -Description: This filed contains the logic destination to which the message is being sent, such as a queue or a topic.
149+ - Type: ` String `
150+ - Description: This filed contains the logic destination to which the message is being sent, such as a queue or a topic.
151151 When a message is sent this value is set to the right queue, then the message will be sent to the specified destination.
152152 When a message is received, its destination is equivalent to the queue where the message resides in.
153153 - Constraints: REQUIRED
@@ -163,14 +163,14 @@ be interpreted as described in [RFC 2119](https://tools.ietf.org/html/rfc2119).
163163
164164This document lists the most of common use cases supported by OpenMessaging.
165165
166- 1 . P2P
167- 2 . Publish/Subscribe
168- 3 . Broadcast
169- 4 . Highway
170- 5 . Streaming
171- 6 . Filter
172- 7 . Routing
173- 8 . RPC
166+ 1 . [ P2P] ( #p2p )
167+ 2 . [ Publish/Subscribe] ( #publishsubscribe )
168+ 3 . [ Broadcast] ( #broadcast )
169+ 4 . [ Highway] ( #highway )
170+ 5 . [ Streaming] ( #streaming )
171+ 6 . [ Filter] ( #filter )
172+ 7 . [ Routing] ( #routing )
173+ 8 . [ RPC] ( #rpc )
174174
175175### P2P
176176
@@ -266,4 +266,4 @@ In OpenMessaging, RPC is equal to synchronous message, it isn’t traditional CS
266266### Change History
2672670.3.0 version created, be compatible with existent runtime API.
2682681.0.0-preview version created, change domain model to queue based model, add type system and schema.
269- 1.0.0-alpha version created, simplify specification and add extension fields.
269+ 1.0.0-alpha version created, simplify specification and add extension fields.
0 commit comments