Files
spring-cloud-stream/spring-cloud-stream
Marius Bogoevici d992e0b852 XD-3597 Separate input, output and context start
JIRA: https://jira.spring.io/browse/XD-3597

Separates the functionality currently provided by the ChannelBindingLifecycle,
binding inputs and outputs separately at the latest, and earliest phases,
respectively - allowing for SmartLifecycle beans that subscribe to inputs at start
to subscribe before inputs start producing data.

The current functionality of automatically starting the context
on the ChannelBindingLifecycle auto-startup is deferred to a refresh listener.

Removes the call to application.stop() within the ChannelBindingLifecycle, which
is redundant (the ChannelBindingLifecycle would be stopped when the context itself
is stopped anyway).

Adding a test for binding lifecycle

Polishing
2015-10-07 17:56:28 -04:00
..