public interface StreamableMessageSource<M extends Message<?>>
messages
that processors can track.Modifier and Type | Method and Description |
---|---|
MessageStream<M> |
openStream(TrackingToken trackingToken)
Open a stream containing all messages since given tracking token.
|
MessageStream<M> openStream(TrackingToken trackingToken)
trackingToken
of null
to
open a stream containing all available messages. Note that the returned stream is infinite, so beware of
applying terminal operations to the returned stream.trackingToken
- object containing the position in the stream or null
to open a stream containing all
messagesCopyright © 2010–2017. All rights reserved.