Skip to content

Commit 2b6c434

Browse files
committed
Merge branch 'develop_beta' of github.com:openmessaging/openmessaging-java into develop
Rename status code and add some comment for Future class.
2 parents fc31675 + 4c4c668 commit 2b6c434

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

openmessaging-api/src/main/java/io/openmessaging/Message.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ interface Headers {
174174
/**
175175
* The {@code messagekey} header field contains the custom key of a message.
176176
* <p>
177-
* This key is a customer identifier for a class of messages, and this key may be used for server to shard or
177+
* This key is a customer identifier for a class of messages, and this key may be used for server to hash or
178178
* dispatch messages, or even can use this key to implement order message.
179179
* <p>
180180
*/
@@ -346,15 +346,15 @@ interface Headers {
346346
KeyValue properties();
347347

348348
/**
349-
* Get message body
349+
* Get data from message body
350350
*
351351
* @return message body
352352
* @throws OMSMessageFormatException if the message body cannot be assigned to the specified type
353353
*/
354354
byte[] getData();
355355

356356
/**
357-
* Set message body
357+
* Set data to message body
358358
*
359359
* @param data set message body in binary stream
360360
*/

openmessaging-api/src/main/java/io/openmessaging/OMSBuiltinKeys.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,4 @@ public interface OMSBuiltinKeys {
4545
* The {@code REGION} key shows the specified region in OMS driver schema.
4646
*/
4747
String REGION = "REGION";
48-
49-
/**
50-
* The {@code OPERATION_TIMEOUT} key defines the timeout of almost all the method calls in OMS.
51-
*/
52-
String OPERATION_TIMEOUT = "OPERATION_TIMEOUT";
53-
54-
5548
}

0 commit comments

Comments
 (0)