Commit Graph

16 Commits

Author SHA1 Message Date
Marius Bogoevici
c979f1baa8 Add missing @ConfigurationProperties on sample
Required after it became mandatory in Spring Boot:

3740c817d3
https://github.com/spring-projects/spring-boot/issues/3460
2015-10-29 16:38:20 -04:00
Ilayaperumal Gopinathan
9a865a56d7 Add per-binding message type-conversion support
- For the message channels being created, set the corresponding `dataType` and `message-converters` based on the `contentType` value set per-binding
   - This is applicable for both direct-binding and the channels that connect to the binder
2015-09-28 10:28:00 -07:00
Marius Bogoevici
86e457fac4 Renamed EnableModule to EnableBinding
* renamed @ModuleChannels to @Bindings
* moved Source, Sink, and Processor to the `org.springframework.cloud.stream.messaging` package
* updated documentation
2015-09-03 07:43:42 -04:00
Ilayaperumal Gopinathan
d4425b3a52 Samples cleanup
- Move common properties to samples parent
 - Avoid explicit `ComponentScan` by moving all the classes to the same package
2015-09-02 09:46:47 -07:00
Eric Bottard
1ce40497c9 Fix copyrights 2015-08-23 15:19:09 +02:00
Ilayaperumal Gopinathan
06762afed2 TimeSource uses default autoStartup=true
- Since the ChannelBindingAdapter is `SmartLifecycle` bean and it starts before
the message producing time source adapter we can remove explicit `autoStartup=false` for TimeSource sample
2015-08-19 13:16:33 -07:00
Ilayaperumal Gopinathan
3dac86a18a Remove throws InterruptedException from sample main 2015-08-17 15:21:46 -07:00
Marius Bogoevici
76eb34256e Set autoStartup to false on the TimeSource
Prevents the endpoint from starting before it's bound, thus throwing Dispatcher errors
2015-08-14 15:24:03 -04:00
Mark Fisher
95a34f6ab0 removed auto-startup=FALSE from sample source 2015-08-03 18:30:12 -04:00
Marius Bogoevici
37204febe2 support for binding descriptors per channel name 2015-07-23 11:22:53 -04:00
Marius Bogoevici
1a51c32f59 Renamed spring.cloud.channels to spring.cloud.stream in configuration 2015-07-21 23:22:12 -04:00
Ilayaperumal Gopinathan
06190b1353 Remove spring-xd-module dependency
- Remove `spring-xd-module` dependency from spring-cloud-stream
 - Move `DateFormat` validation class to sample
2015-07-21 17:22:14 -04:00
Dave Syer
c09b292d79 Use @EnableModule(Channels.class) instead of field declarations
Standard channel interface types of Sink, Source, Processor
are provided, but user can create others with @Input and
@Output MessageChannel methods.

To get the declared channels in an app you can use the
@ModuleChannels qualifier to inject the interface, e.g.
@ModuleChannels(Cafe.class) injects the channels defined
in the Cafe.
2015-07-16 21:44:05 -04:00
Mark Fisher
460bb140f2 fixed source/sink samples' input/output properties 2015-07-16 18:38:37 -04:00
Glenn Renfro
f0f7187892 Code cleanup & port change for source & sink examples 2015-07-16 18:07:26 -04:00
Dave Syer
dafa0773b5 Change streams->stream 2015-07-15 08:25:44 +01:00