public class InvokeParticipantStepBuilder<Data> extends Object
| Constructor and Description |
|---|
InvokeParticipantStepBuilder(SimpleSagaDefinitionBuilder<Data> parent) |
| Modifier and Type | Method and Description |
|---|---|
SagaDefinition<Data> |
build() |
<T> InvokeParticipantStepBuilder<Data> |
onReply(Class<T> replyClass,
BiConsumer<Data,T> replyHandler) |
StepBuilder<Data> |
step() |
InvokeParticipantStepBuilder<Data> |
withAction(Function<Data,com.networknt.tram.command.consumer.CommandWithDestination> action) |
InvokeParticipantStepBuilder<Data> |
withCompensation(Function<Data,com.networknt.tram.command.consumer.CommandWithDestination> compensation) |
public InvokeParticipantStepBuilder(SimpleSagaDefinitionBuilder<Data> parent)
public InvokeParticipantStepBuilder<Data> withAction(Function<Data,com.networknt.tram.command.consumer.CommandWithDestination> action)
public InvokeParticipantStepBuilder<Data> withCompensation(Function<Data,com.networknt.tram.command.consumer.CommandWithDestination> compensation)
public <T> InvokeParticipantStepBuilder<Data> onReply(Class<T> replyClass, BiConsumer<Data,T> replyHandler)
public StepBuilder<Data> step()
public SagaDefinition<Data> build()
Copyright © 2018. All rights reserved.