public class CompensationUtil extends Object
Constructor and Description |
---|
CompensationUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
createEventScopeExecution(ExecutionEntity execution)
creates an event scope for the given execution:
create a new event scope execution under the parent of the given
execution and move all event subscriptions to that execution.
|
static void |
throwCompensationEvent(List<CompensateEventSubscriptionEntity> eventSubscriptions,
ActivityExecution execution,
boolean async)
we create a separate execution for each compensation handler invocation.
|
public static void throwCompensationEvent(List<CompensateEventSubscriptionEntity> eventSubscriptions, ActivityExecution execution, boolean async)
public static void createEventScopeExecution(ExecutionEntity execution)
Copyright © 2018. All rights reserved.