Class Message

java.lang.Object
dev.moonbridge.messaging.Message

public final class Message extends Object
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 Details

  • Constructor Details

    • Message

      public Message(UUID id, MessageKind kind, String channel, Endpoint source, Endpoint target, UUID replyTo, byte[] payload)
      Creates a decoded message. Sending APIs replace the source with their authenticated host identity.
  • Method Details