Skip to content

Commit

Permalink
Fix sentence error in the overview.adoc
Browse files Browse the repository at this point in the history
Fix a mistake in a sentence about EIP components and `BeanPostProcessor`
  • Loading branch information
almogtavor authored Feb 9, 2022
1 parent 291fe34 commit cd0d03e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reference/asciidoc/overview.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,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`.
Expand Down

0 comments on commit cd0d03e

Please sign in to comment.