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
@@ -18,15 +18,15 @@ package demo;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.cloud.stream.annotation.EnableModule;
|
||||
import org.springframework.cloud.stream.annotation.Sink;
|
||||
import org.springframework.cloud.stream.annotation.EnableBinding;
|
||||
import org.springframework.cloud.stream.messaging.Sink;
|
||||
import org.springframework.integration.annotation.ServiceActivator;
|
||||
|
||||
/**
|
||||
* @author Dave Syer
|
||||
* @author Marius Bogoevici
|
||||
*/
|
||||
@EnableModule(Sink.class)
|
||||
@EnableBinding(Sink.class)
|
||||
public class TappingLoggingSink {
|
||||
|
||||
private static Logger logger = LoggerFactory.getLogger(TappingLoggingSink.class);
|
||||
|
||||
Reference in New Issue
Block a user