File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/main/java/io/nats/client Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 2525 * The NATS library uses a Message object to encapsulate incoming messages. Applications
2626 * publish and send requests with raw strings and byte[] but incoming messages can have a few
2727 * values, so they need a wrapper.
28- *
28+ *
2929 * <p>The byte[] returned by {@link #getData() getData()} is not shared with any library code
3030 * and is safe to manipulate.
3131 */
@@ -135,7 +135,8 @@ public interface Message {
135135 void nakWithDelay (long nakDelayMillis );
136136
137137 /**
138- * term prevents this message from every being delivered regardless of maxDeliverCount.
138+ * term instructs the server to stop redelivery of this message without acknowledging it as
139+ * successfully processed.
139140 */
140141 void term ();
141142
@@ -145,7 +146,7 @@ public interface Message {
145146 void inProgress ();
146147
147148 /**
148- * Checks if a message is from Jetstream or is a standard message.
149+ * Checks if a message is from JetStream or is a standard message.
149150 * @return true if the message is from JetStream.
150151 */
151152 boolean isJetStream ();
You can’t perform that action at this time.
0 commit comments