@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface StartSaga
SagaEventHandler method can trigger the
 creation of a new Saga instance.
 
 When a Saga is started due to an invocation on a StartSaga annotated method, the association of the annotated method
 and the actual property's value are used to define a AssociationValue for the created saga. Thus, a method with this
 definition:
 
 @StartSaga(forceNew=true)
@SageEventHandler(associationProperty="orderId")
public void
 handleOrderCreated(OrderCreatedEvent event) event.getOrderId().
 
 This annotation can only appear on methods that have been annotated with @SagaEventHandler.| Modifier and Type | Optional Element and Description | 
|---|---|
boolean | 
forceNew
Indicates whether or not to force creation of a Saga, even if one already exists. 
 | 
public abstract boolean forceNew
true, a new
 Saga is always created when an event assignable to the annotated method is handled. If false, a new
 saga is only created if no Saga's exist that can handle the incoming event.
 
 This annotation can only appear on methods that have been annotated with @SagaEventHandler.Copyright © 2010–2018. All rights reserved.