From 851d71734949c367ceffa2cdeabe01a5e21bcc54 Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Wed, 1 Feb 2017 17:14:31 -0500 Subject: [PATCH] GH-773: Doc Polishing Resolves #773 Ctor Autowiring and missing end of note. --- .../src/main/asciidoc/spring-cloud-stream-overview.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-cloud-stream-core-docs/src/main/asciidoc/spring-cloud-stream-overview.adoc b/spring-cloud-stream-core-docs/src/main/asciidoc/spring-cloud-stream-overview.adoc index 523f178ae..738712736 100644 --- a/spring-cloud-stream-core-docs/src/main/asciidoc/spring-cloud-stream-overview.adoc +++ b/spring-cloud-stream-core-docs/src/main/asciidoc/spring-cloud-stream-overview.adoc @@ -373,11 +373,10 @@ The channel will be injected as shown in the following example: @Component public class SendingBean { - @Autowired @Qualifier("customOutput") private MessageChannel output; @Autowired - public SendingBean(MessageChannel output) { + public SendingBean(@Qualifier("customOutput") MessageChannel output) { this.output = output; } @@ -456,6 +455,7 @@ As with other Spring Messaging methods, method arguments can be annotated with ` [NOTE] ==== For methods which return data, you must use the `@SendTo` annotation to specify the output binding destination for data returned by the method: +==== [source,java] ----