Interface Message<S,T>

  • public interface Message<S,T>
    General message abstraction for any type of Event / Message published by MongoDB server to the client. This might be Change Stream Events, or Documents published by a tailable cursor. The original message received is preserved in the raw parameter. Additional information about the origin of the Message is contained in Message.MessageProperties.
    For convenience the getBody() of the message gets lazily converted into the target domain type if necessary using the mapping infrastructure.
    Christoph Strobl, Mark Paluch
    See Also: