Skip to content

Commit 53dcb00

Browse files
CaptainAyerstoyanchev
authored andcommitted
Typos in WebSocket section
Closes gh-23777
1 parent 562c087 commit 53dcb00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/docs/asciidoc/web/websocket.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1403,7 +1403,7 @@ for the return value, by default, a message is sent directly to the client (thro
14031403
When is this useful? Assume that the broker is mapped to `/topic` and `/queue`, while
14041404
application controllers are mapped to `/app`. In this setup, the broker stores all
14051405
subscriptions to `/topic` and `/queue` that are intended for repeated broadcasts, and
1406-
there is no need for the application to get involved. A client could also also subscribe to
1406+
there is no need for the application to get involved. A client could also subscribe to
14071407
some `/app` destination, and a controller could return a value in response to that
14081408
subscription without involving the broker without storing or using the subscription again
14091409
(effectively a one-time request-reply exchange). One use case for this is populating a UI
@@ -2579,7 +2579,7 @@ When you use `@EnableWebSocketMessageBroker` or `<websocket:message-broker>`, ke
25792579
infrastructure components automatically gather statisticss and counters that provide
25802580
important insight into the internal state of the application. The configuration
25812581
also declares a bean of type `WebSocketMessageBrokerStats` that gathers all
2582-
available information in one place and by, default logs, it at the `INFO` level once
2582+
available information in one place and by default logs it at the `INFO` level once
25832583
every 30 minutes. This bean can be exported to JMX through Spring's
25842584
`MBeanExporter` for viewing at runtime (for example, through JDK's `jconsole`).
25852585
The following list summarizes the available information:
@@ -2652,7 +2652,7 @@ Ideally, controllers under test should be invoked as they are at runtime, much l
26522652
the approach to testing controllers that handle HTTP requests by using the Spring MVC Test
26532653
framework -- that is, without running a Servlet container but relying on the Spring Framework
26542654
to invoke the annotated controllers. As with Spring MVC Test, you have two
2655-
two possible alternatives here, either use a "`context-based`" or use a "`standalone`" setup:
2655+
possible alternatives here, either use a "`context-based`" or use a "`standalone`" setup:
26562656

26572657
* Load the actual Spring configuration with the help of the
26582658
Spring TestContext framework, inject `clientInboundChannel` as a test field, and

0 commit comments

Comments
 (0)