Skip to content

Commit 8b51501

Browse files
committed
* Fix language in docs
1 parent 6af51f9 commit 8b51501

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/reference/asciidoc/handler-advice.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ public Message<?> service(Message<?> message) {
557557
Starting with version 5.3, a `ReactiveRequestHandlerAdvice` can be used for request message handlers producing a `Mono` replies.
558558
A `BiFunction<Message<?>, Mono<?>, Publisher<?>>` has to be provided for this advice and it is called from the `Mono.transform()` operator on a reply produced by the intercepted `handleRequestMessage()` method implementation.
559559
Typically such a `Mono` customization is necessary when we would like to control network fluctuations via `timeout()`, `retry()` and similar support operators.
560-
For example when we can an HTTP request over WebFlux client, we could use bellow configuration to not wait for response more than 5 seconds:
560+
For example when we can an HTTP request over WebFlux client, we could use below configuration to not wait for response more than 5 seconds:
561561

562562
====
563563
[source, java]
@@ -567,8 +567,8 @@ For example when we can an HTTP request over WebFlux client, we could use bellow
567567
----
568568
====
569569

570-
The `message` argument is a request message for such a message handler and can be used to determine a request-scope attributes.
571-
The `mono` argument is a result of this message handler `handleRequestMessage()` method implementation.
570+
The `message` argument is the request message for the message handler and can be used to determine request-scope attributes.
571+
The `mono` argument is the result of this message handler's `handleRequestMessage()` method implementation.
572572
A nested `Mono.transform()` can also be called from this function to apply, for example, a https://spring.io/projects/spring-cloud-circuitbreaker[Reactive Circuit Breaker].
573573

574574
[[custom-advice]]

0 commit comments

Comments
 (0)