Fix spelling error of document.
There isn't existing Autowire annotation, it should be the Autowired annotation. Update spring-cloud-stream.adoc Resolves #1715
This commit is contained in:
@@ -393,7 +393,7 @@ _Autowire Binding interface_
|
||||
|
||||
[source, java]
|
||||
----
|
||||
@Autowire
|
||||
@Autowired
|
||||
private Source source
|
||||
|
||||
public void sayHello(String name) {
|
||||
@@ -405,7 +405,7 @@ _Autowire individual channel_
|
||||
|
||||
[source, java]
|
||||
----
|
||||
@Autowire
|
||||
@Autowired
|
||||
private MessageChannel output;
|
||||
|
||||
public void sayHello(String name) {
|
||||
@@ -419,7 +419,7 @@ The following example shows how to use the @Qualifier annotation in this way:
|
||||
|
||||
[source, java]
|
||||
----
|
||||
@Autowire
|
||||
@Autowired
|
||||
@Qualifier("myChannel")
|
||||
private MessageChannel output;
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user