Package org.camunda.bpm.scenario.act
Interface ReceiveTaskAction
-
- All Superinterfaces:
Action<EventSubscriptionDelegate>,MessageIntermediateCatchEventAction
public interface ReceiveTaskAction extends MessageIntermediateCatchEventAction
- Author:
- Martin Schimak
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexecute(EventSubscriptionDelegate message)Implement this action with custom code to be executed when the process instance arrives at a receive task.
-
-
-
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:
executein interfaceAction<EventSubscriptionDelegate>- Specified by:
executein interfaceMessageIntermediateCatchEventAction- 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.
-
-