File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed
openmessaging-api/src/main/java/io/openmessaging Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff 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 */
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments