Skip to content

Commit ce751ed

Browse files
authored
Fix typos in the reactive-streams.adoc
1 parent ca5ab36 commit ce751ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/reference/antora/modules/ROOT/pages/reactive-streams.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ NOTE: All the Reactive Streams interaction in Spring Integration implemented wit
3636
The simplest point of interaction with Reactive Streams is a `@MessagingGateway` where we just make a return type of the gateway method as a `Mono<?>` - and the whole integration flow behind a gateway method call is going to be performed when a subscription happens on the returned `Mono` instance.
3737
See xref:gateway.adoc#reactor-mono[Reactor `Mono`] for more information.
3838
A similar `Mono`-reply approach is used in the framework internally for inbound gateways which are fully based on Reactive Streams compatible protocols (see xref:reactive-streams.adoc#reactive-channel-adapters[Reactive Channel Adapters] below for more information).
39-
The send-and-receive operation is wrapped into a `Mono.deffer()` with chaining a reply evaluation from the `replyChannel` header whenever it is available.
39+
The send-and-receive operation is wrapped into a `Mono.defer()` with chaining a reply evaluation from the `replyChannel` header whenever it is available.
4040
This way an inbound component for the particular reactive protocol (e.g. Netty) is going to be as a subscriber and initiator for a reactive flow performed on the Spring Integration.
41-
If the request payload is a reactive type, it would be better to handle it withing a reactive stream definition deferring a process to the initiator subscription.
41+
If the request payload is a reactive type, it would be better to handle it within a reactive stream definition deferring a process to the initiator subscription.
4242
For this purpose a handler method must return a reactive type as well.
4343
See the next section for more information.
4444

0 commit comments

Comments
 (0)