public interface Message<S,T>
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. getBody() of the message gets lazily converted into the target domain type if necessary
using the mapping infrastructure.Message.MessageProperties| Modifier and Type | Interface and Description |
|---|---|
static class |
Message.MessageProperties |
| Modifier and Type | Method and Description |
|---|---|
T |
getBody()
The converted message body if available.
|
Message.MessageProperties |
getProperties()
Message.MessageProperties containing information about the Message origin and other metadata. |
S |
getRaw()
The raw message source as emitted by the origin.
|
Message.MessageProperties getProperties()
Message.MessageProperties containing information about the Message origin and other metadata.Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.