@@ -156,8 +156,8 @@ static StreamMessageListenerContainer<String, MapRecord<String, String, String>>
156
156
}
157
157
158
158
/**
159
- * Register a new subscription for a Redis Stream. If a {@link StreamMessageListenerContainer} is already
160
- * {@link StreamMessageListenerContainer#isRunning() running} the {@link Subscription} will be added and run
159
+ * Register a new subscription for a Redis Stream. If the container is already
160
+ * {@link StreamMessageListenerContainer#isRunning() running} the {@link Subscription} will be added and started
161
161
* immediately, otherwise it'll be scheduled and started once the container is actually
162
162
* {@link StreamMessageListenerContainer#start() started}.
163
163
* <p>
@@ -176,8 +176,8 @@ default Subscription receive(StreamOffset<K> streamOffset, StreamListener<K, V>
176
176
}
177
177
178
178
/**
179
- * Register a new subscription for a Redis Stream. If a {@link StreamMessageListenerContainer} is already
180
- * {@link StreamMessageListenerContainer#isRunning() running} the {@link Subscription} will be added and run
179
+ * Register a new subscription for a Redis Stream. If the container is already
180
+ * {@link StreamMessageListenerContainer#isRunning() running} the {@link Subscription} will be added and started
181
181
* immediately, otherwise it'll be scheduled and started once the container is actually
182
182
* {@link StreamMessageListenerContainer#start() started}.
183
183
* <p>
@@ -203,8 +203,8 @@ default Subscription receive(Consumer consumer, StreamOffset<K> streamOffset, St
203
203
}
204
204
205
205
/**
206
- * Register a new subscription for a Redis Stream. If a {@link StreamMessageListenerContainer} is already
207
- * {@link StreamMessageListenerContainer#isRunning() running} the {@link Subscription} will be added and run
206
+ * Register a new subscription for a Redis Stream. If the container is already
207
+ * {@link StreamMessageListenerContainer#isRunning() running} the {@link Subscription} will be added and started
208
208
* immediately, otherwise it'll be scheduled and started once the container is actually
209
209
* {@link StreamMessageListenerContainer#start() started}.
210
210
* <p>
@@ -227,8 +227,8 @@ default Subscription receiveAutoAck(Consumer consumer, StreamOffset<K> streamOff
227
227
}
228
228
229
229
/**
230
- * Register a new subscription for a Redis Stream. If a {@link StreamMessageListenerContainer} is already
231
- * {@link StreamMessageListenerContainer#isRunning() running} the {@link Subscription} will be added and run
230
+ * Register a new subscription for a Redis Stream. If the container is already
231
+ * {@link StreamMessageListenerContainer#isRunning() running} the {@link Subscription} will be added and started
232
232
* immediately, otherwise it'll be scheduled and started once the container is actually
233
233
* {@link StreamMessageListenerContainer#start() started}.
234
234
* <p>
@@ -250,9 +250,9 @@ default Subscription receiveAutoAck(Consumer consumer, StreamOffset<K> streamOff
250
250
251
251
/**
252
252
* Unregister a given {@link Subscription} from the container. This prevents the {@link Subscription} to be restarted
253
- * in a potential {@link SmartLifecycle#stop() stop}/{@link SmartLifecycle#start() start} scenario.<br />
254
- * An {@link Subscription#isActive() active} {@link Subscription subcription} is {@link Subscription#cancel()
255
- * cancelled} prior to removal.
253
+ * in a potential {@link SmartLifecycle#stop() stop}/{@link SmartLifecycle#start() start} scenario. An
254
+ * {@link Subscription#isActive() active} {@link Subscription subcription} is {@link Subscription#cancel() cancelled}
255
+ * prior to removal.
256
256
*
257
257
* @param subscription must not be {@literal null}.
258
258
*/
0 commit comments