Package org.jbpm.bpmn2.handler

## Class SendMessageAction

- java.lang.Object
- - org.jbpm.bpmn2.handler.SendMessageAction

- All Implemented Interfaces:
    `Serializable`, `Action`, `JavaAction`

      public class SendMessageAction
      extends Object
      implements JavaAction

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SendMessageAction​(String varName, Message message)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `execute​(org.kie.api.runtime.process.ProcessContext kcontext)` |
    `String` | `getVariable()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SendMessageAction

          public SendMessageAction​(String varName,
                                   Message message)

  - ### Method Detail

    - #### execute

          public void execute​(org.kie.api.runtime.process.ProcessContext kcontext)
                       throws Exception

      Specified by:
        `execute` in interface `Action`
      Throws:
        `Exception`

    - #### getVariable

          public String getVariable()