Interface ReceiveTaskAction

    • Method Detail

      • execute

        void execute​(EventSubscriptionDelegate message)
              throws Exception
        Implement this action with custom code to be executed when the process instance arrives at a receive task.
        Specified by:
        execute in interface Action<EventSubscriptionDelegate>
        Specified by:
        execute in interface MessageIntermediateCatchEventAction
        Parameters:
        message - the event subscription waiting for a message or an object able to signal the receive task execution to move on in case you do not use the receive task with a message subscription.
        Throws:
        Exception - in case your custom code throws checked exceptions. Such exceptions will be wrapped into RuntimeExceptions and rethrown.