Package org.kie.api.event.process

# Interface MessageEvent

All Superinterfaces:
  `KieRuntimeEvent`, `ProcessEvent`, `ProcessNodeEvent`

public interface MessageEvent extends ProcessNodeEvent
An event when a message is sent

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `getMessage()`
  Object associated with this message
  `String`
  `getMessageName()`
  The name of the message

  ### Methods inherited from interface org.kie.api.event.KieRuntimeEvent

  `getKieRuntime`

  ### Methods inherited from interface org.kie.api.event.process.ProcessEvent

  `getEventDate, getEventIdentity, getProcessInstance`

  ### Methods inherited from interface org.kie.api.event.process.ProcessNodeEvent

  `getNodeInstance`

- ## Method Details

  - ### getMessageName

    String getMessageName()
    The name of the message
    Returns:
      message name

  - ### getMessage

    Object getMessage()
    Object associated with this message
    Returns:
      message object