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:
committed by
Mark Fisher
parent
0fd1e37a8f
commit
86e457fac4
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user