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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `getMessage()` Object associated with this message
    `String` | `getMessageName()` The name of the message

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

      `getNodeInstance`

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

      `getEventDate, getProcessInstance`

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

      `getKieRuntime`

- - ### Method Detail

    - #### getMessageName

          String getMessageName()

      The name of the message
      Returns:
        message name

    - #### getMessage

          Object getMessage()

      Object associated with this message
      Returns:
        message object

Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.