public interface MessageSource<M,D> extends ChannelSource<ChannelMessage<M,D>>
ChannelMessage,
MessageSink| Modifier and Type | Method and Description |
|---|---|
default ChannelSource<D> |
asDataSource()
Builds a channel source that uses this message source to send data items
D. |
send, uncheckedSenddefault ChannelSource<D> asDataSource()
D. The underlying messages will all have empty metadata.