From 1b742772c1154100e497a02cad68780bb41d829c Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Wed, 22 Jul 2015 03:26:46 +0000 Subject: [PATCH] Sync docs from master to gh-pages --- spring-cloud-stream.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spring-cloud-stream.html b/spring-cloud-stream.html index 4ae13ef80..5970f3d6b 100644 --- a/spring-cloud-stream.html +++ b/spring-cloud-stream.html @@ -459,7 +459,7 @@ public class TimerSource {
---
 spring:
   cloud:
-    channels:
+    stream:
       outputChannelName: ${spring.application.name:ticker}
@@ -514,7 +514,7 @@ In this case there is only one Source in the application context so

Multiple Input or Output Channels

-

A module can have multiple input or output channels all defined either as @Input and @Output methods in an interface (preferrable) or as bean definitions. Instead of just one channel named "input" or "output" you can add multiple MessageChannel methods annotated input. or output. and the names are converted to external channel names on the broker. The external channel names are the spring.cloud.channels.[input|output]ChannelName plus the MessageChannel bean name, period separated. In addition, the bean name can be input.[queue|topic|tap]:* or output.[queue|topic]:* (i.e. with a channel type as a colon-separated prefix), and the semantics of the external bus channel changes accordingly (a tap is like a topic). For example, you can have two MessageChannels called "output" and "output.topic:foo" in a module with outputChannelName=bar, and the result is 2 external channels called "bar" and "topic:foo.bar".

+

A module can have multiple input or output channels all defined either as @Input and @Output methods in an interface (preferrable) or as bean definitions. Instead of just one channel named "input" or "output" you can add multiple MessageChannel methods annotated input. or output. and the names are converted to external channel names on the broker. The external channel names are the spring.cloud.stream.[input|output]ChannelName plus the MessageChannel bean name, period separated. In addition, the bean name can be input.[queue|topic|tap]:* or output.[queue|topic]:* (i.e. with a channel type as a colon-separated prefix), and the semantics of the external bus channel changes accordingly (a tap is like a topic). For example, you can have two MessageChannels called "output" and "output.topic:foo" in a module with outputChannelName=bar, and the result is 2 external channels called "bar" and "topic:foo.bar".

@@ -605,7 +605,7 @@ The main set of samples are "vanilla" in the sense that they are not deployable
spring:
   cloud:
-    channels:
+    stream:
       group: tocktap
       name: logger
       index: 0
@@ -616,14 +616,14 @@ The main set of samples are "vanilla" in the sense that they are not deployable
 
-

The spring.cloud.channels.tap section tells the module runner which topic you want to subscribe to. It creates a new group (a tap can’t be in the same group as the one it is tapping) and starts a new index count, in case anyone wants to listen downstream.

+

The spring.cloud.stream.tap section tells the module runner which topic you want to subscribe to. It creates a new group (a tap can’t be in the same group as the one it is tapping) and starts a new index count, in case anyone wants to listen downstream.