Class Message
java.lang.Object
dev.moonbridge.messaging.Message
Immutable message envelope shared by the proxy and Java 8 backend clients. The UUID identifies a message
for tracing and request/reply correlation; it does not imply durable delivery, deduplication, or exactly-once
processing. Sending APIs assign the source from the authenticated host identity.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MAX_PAYLOAD_BYTES
public static final int MAX_PAYLOAD_BYTES- See Also:
-
MAX_CHANNEL_BYTES
public static final int MAX_CHANNEL_BYTES- See Also:
-
-
Constructor Details
-
Message
-
-
Method Details
-
event
-
request
-
reply
-
id
-
kind
-
channel
-
source
-
target
-
replyTo
-
payload
public byte[] payload()Returns a defensive copy of the payload. -
validateChannel
-