Skip to content

Commit 60be693

Browse files
committed
Polishing configuration.adoc
1 parent 2c3ee7d commit 60be693

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/reference/asciidoc/configuration.adoc

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ public class MyFlowConfiguration {
580580
}
581581
----
582582

583-
Starting with _version 5.0_, support is also provided for `@Bean` annotated `InboundChannelAdapter`s that return `java.util.function.Supplier` which can produce either a POJO or a `Message`:
583+
Starting with _version 5.0_, a support is also provided for a `@Bean` annotated with the `InboundChannelAdapter` that return `java.util.function.Supplier` which can produce either a POJO or a `Message`:
584584
[source,java]
585585
----
586586
@Configuration
@@ -602,11 +602,8 @@ public class MyFlowConfiguration {
602602

603603
The meta-annotation rules work on `@Bean` methods as well (`@MyServiceActivator` above can be applied to a `@Bean` definition).
604604

605-
NOTE: When using these annotations on consumer `@Bean` definitions, if the bean definition returns an appropriate
606-
`MessageHandler` (depending on the annotation type), attributes such as `outputChannel`, `requiresReply` etc,
607-
must be set on the `MessageHandler` `@Bean` definition itself.
608-
The only annotation attributes used are `adviceChain`, `autoStartup`, `inputChannel`, `phase`, `poller`,
609-
all other attributes are for the handler.
605+
NOTE: When using these annotations on consumer `@Bean` definitions, if the bean definition returns an appropriate `MessageHandler` (depending on the annotation type), attributes such as `outputChannel`, `requiresReply`, `order` etc, must be set on the `MessageHandler` `@Bean` definition itself.
606+
The only annotation attributes used are `adviceChain`, `autoStartup`, `inputChannel`, `phase`, `poller`, all other attributes are for the handler.
610607

611608
NOTE: The bean names are generated with this algorithm:
612609
* The `MessageHandler` (`MessageSource`) `@Bean` gets its own standard name from the method name or `name` attribute on

0 commit comments

Comments
 (0)