@ProviderType
public class KuraMessage
extends java.lang.Object
CloudPublisher or
CloudSubscriber.
It is composed by a KuraPayload and properties that enrich the context of the message.
The content of the properties field is not fixed or mandatory and represent message-related options.
Depending on the application, the value in the properties field can be used or not.| Constructor and Description |
|---|
KuraMessage(KuraPayload payload) |
KuraMessage(KuraPayload payload,
java.util.Map<java.lang.String,java.lang.Object> properties) |
| Modifier and Type | Method and Description |
|---|---|
KuraPayload |
getPayload() |
java.util.Map<java.lang.String,java.lang.Object> |
getProperties() |
public KuraMessage(KuraPayload payload)
public KuraMessage(KuraPayload payload, java.util.Map<java.lang.String,java.lang.Object> properties)
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
public KuraPayload getPayload()