Skip to content

Commit 19ebb73

Browse files
Inegomp911de
authored andcommitted
DATAREDIS-1225 - Fix typos in reference documentation.
Original pull request: #560.
1 parent 67fc916 commit 19ebb73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/asciidoc/reference/reactive-messaging.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ The message listener container itself does not require external threading resour
5454
ReactiveRedisConnectionFactory factory = …
5555
ReactiveRedisMessageListenerContainer container = new ReactiveRedisMessageListenerContainer(factory);
5656
57-
Flux<ChannelMessage<String, String>> stream = container.receive(ChannelTopic.of("my-chanel"));
57+
Flux<ChannelMessage<String, String>> stream = container.receive(ChannelTopic.of("my-channel"));
5858
----
5959

6060
[[redis:reactive:pubsub:subscribe:template]]
6161
=== Subscribing via template API
6262

6363
As mentioned above you can directly use `ReactiveRedisTemplate` to subscribe to channels / patterns. This approach
64-
offers a straight forward, though limited solution as you loose the option to add subscriptions after the initial
64+
offers a straight forward, though limited solution as you lose the option to add subscriptions after the initial
6565
ones. Nevertheless you still can control the message stream via the returned `Flux` using eg. `take(Duration)`. When
6666
done reading, on error or cancellation all bound resources are freed again.
6767

0 commit comments

Comments
 (0)