Skip to content

Commit 43ea0e0

Browse files
artembilanspring-builds
authored andcommitted
GH-10777: Fix typo in the gateway.adoc
Fixes: #10777 (cherry picked from commit 0f5c305)
1 parent e6c92ae commit 43ea0e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reference/antora/modules/ROOT/pages/gateway.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ Starting with version 6.0, an interface with the `@MessagingGateway` can also be
304304
Starting with version 6.0, `@MessagingGateway` interfaces can be used in the standard Spring `@Import` configuration.
305305
This may be used as an alternative to the `@IntegrationComponentScan` or manual `AnnotationGatewayProxyFactoryBean` bean definitions.
306306

307-
The `@MessagingGateway` is meta-annotated with a `@MessageEndpoint` since version `6.0` and the `name()` attribute is, essentially, aliased to the `@Compnent.value()`.
307+
The `@MessagingGateway` is meta-annotated with a `@MessageEndpoint` since version `6.0` and the `name()` attribute is, essentially, aliased to the `@Component.value()`.
308308
This way the bean names generating strategy for gateway proxies is realigned with the standard Spring annotation configuration for scanned and imported components.
309309
The default `AnnotationBeanNameGenerator` can be overridden globally via an `AnnotationConfigUtils.CONFIGURATION_BEAN_NAME_GENERATOR` or as a `@IntegrationComponentScan.nameGenerator()` attribute.
310310

0 commit comments

Comments
 (0)