Skip to content

Commit 9ff2707

Browse files
authored
Fix variable name typo in the redis.adoc
1 parent 5eb95f6 commit 9ff2707

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/reference/asciidoc/redis.adoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -785,9 +785,10 @@ public ReactiveRedisStreamMessageHandler reactiveValidatorMessageHandler(
785785
ReactiveRedisConnectionFactory reactiveRedisConnectionFactory) {
786786
ReactiveRedisStreamMessageHandler reactiveStreamMessageHandler =
787787
new ReactiveRedisStreamMessageHandler(reactiveRedisConnectionFactory, "myStreamKey"); <1>
788-
reactiveRedisStreamMessageHandler.setSerializationContext(serializationContext); <2>
789-
reactiveRedisStreamMessageHandler.setHashMapper(hashMapper); <3>
790-
reactiveRedisStreamMessageHandler.setExtractPayload(true); <4>
788+
reactiveStreamMessageHandler.setSerializationContext(serializationContext); <2>
789+
reactiveStreamMessageHandler.setHashMapper(hashMapper); <3>
790+
reactiveStreamMessageHandler.setExtractPayload(true); <4>
791+
return reactiveStreamMessageHandler;
791792
}
792793
----
793794
<1> Construct an instance of `ReactiveRedisStreamMessageHandler` using `ReactiveRedisConnectionFactory` and stream name to add records.
@@ -885,4 +886,4 @@ You should set the expiry at a large enough value to prevent this condition, but
885886
Starting with version 5.0, the `RedisLockRegistry` implements `ExpirableLockRegistry`, which removes locks last acquired more than `age` ago and that are not currently locked.
886887

887888
String with version 5.5.6, the `RedisLockRegistry` is support automatically clean up cache for redisLocks in `RedisLockRegistry.locks` via `RedisLockRegistry.setCacheCapacity()`.
888-
See its JavaDocs for more information.
889+
See its JavaDocs for more information.

0 commit comments

Comments
 (0)