Renamed EnableModule to EnableBinding

* renamed @ModuleChannels to @Bindings
* moved Source, Sink, and Processor to the `org.springframework.cloud.stream.messaging` package
* updated documentation
This commit is contained in:
Marius Bogoevici
2015-09-02 16:33:03 -04:00
committed by Mark Fisher
parent 0fd1e37a8f
commit 86e457fac4
30 changed files with 137 additions and 111 deletions

View File

@@ -21,8 +21,8 @@ import java.util.Date;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.stream.annotation.EnableModule;
import org.springframework.cloud.stream.annotation.Source;
import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.cloud.stream.messaging.Source;
import org.springframework.context.annotation.Bean;
import org.springframework.integration.annotation.InboundChannelAdapter;
import org.springframework.integration.annotation.Poller;
@@ -34,7 +34,7 @@ import org.springframework.messaging.support.GenericMessage;
* @author Glenn Renfro
*
*/
@EnableModule(Source.class)
@EnableBinding(Source.class)
@EnableConfigurationProperties(TimeSourceOptionsMetadata.class)
public class TimeSource {