From 5c23c702e42682aab1e38d4b1ccf2ccb209a345c Mon Sep 17 00:00:00 2001 From: Almog Tavor <70065337+almogtavor@users.noreply.github.com> Date: Wed, 9 Feb 2022 02:06:45 +0200 Subject: [PATCH] Fix sentence error in the overview.adoc Fix a mistake in a sentence about EIP components and `BeanPostProcessor` --- src/reference/asciidoc/overview.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reference/asciidoc/overview.adoc b/src/reference/asciidoc/overview.adoc index 3c723bccdb..c8ab638b47 100644 --- a/src/reference/asciidoc/overview.adoc +++ b/src/reference/asciidoc/overview.adoc @@ -596,7 +596,7 @@ Its main implementations are: * `EventDrivenConsumer`, used when we subscribe to a `SubscribableChannel` to listen for messages. * `PollingConsumer`, used when we poll for messages from a `PollableChannel`. -When you use messaging annotations or the Java DSL, you need to worry about these components, because the Framework automatically produces them with appropriate annotations and `BeanPostProcessor` implementations. +When you use messaging annotations or the Java DSL, you don't need to worry about these components, because the Framework automatically produces them with appropriate annotations and `BeanPostProcessor` implementations. When building components manually, you should use the `ConsumerEndpointFactoryBean` to help determine the target `AbstractEndpoint` consumer implementation to create, based on the provided `inputChannel` property. On the other hand, the `ConsumerEndpointFactoryBean` delegates to an another first class citizen in the Framework - `org.springframework.messaging.MessageHandler`.