Represents a message on the event bus.

By: Julien Viet
  • Message
    • Basic
      • Identifiable
      • Object
        • Anything

no subtypes hierarchy

Initializer
Message(Message<Object> delegate, T body, String? replyAddress)
Parameters:
  • delegate

    The wrapped message

  • body

    The body of the message

  • replyAddress

    The body of the message

Attributes
bodyshared T body

The body of the message

replyAddressshared String? replyAddress

The body of the message

Inherited Attributes
Attributes inherited from: Object
hash, string
Methods
replyshared Promise<Message<M>> reply<M = Nothing>(Payload? body = null)

Reply to this message. If the message was sent specifying a reply handler, that handler will be called when it has received a reply. If the message wasn't sent specifying a receipt handler this method does nothing.

Parameters:
  • body = null
Inherited Methods
Methods inherited from: Object
equals