October 2018
Intermediate to advanced
982 pages
23h 29m
English
To consume messages sent via Spring Cloud Stream, the chat application needs its own CommentService:
@Service
@EnableBinding(Sink.class)
public class CommentService implements WebSocketHandler {
private final static Logger log =
LoggerFactory.getLogger(CommentService.class);
...
}
The preceding code can be described as follows:
This ...
Read now
Unlock full access