@Deprecated public interface InstructionResultPublisher
Modifier and Type | Method and Description |
---|---|
void |
publishFailureFor(String instructionId,
String errorDescription)
Deprecated.
Notifies to Axon Server a failure during the execution of the specified instruction.
|
void |
publishFailureFor(String instructionId,
Throwable error)
Deprecated.
Notifies to Axon Server a failure during the execution of the specified instruction.
|
void |
publishSuccessFor(String instructionId)
Deprecated.
Notifies to Axon Server a successful execution of the specified instruction.
|
void publishSuccessFor(String instructionId)
instructionId
- the identifier of the instruction that has been successfully processed.void publishFailureFor(String instructionId, Throwable error)
instructionId
- the identifier of the instruction.error
- the error happened during the instruction execution.void publishFailureFor(String instructionId, String errorDescription)
instructionId
- the identifier of the instruction.errorDescription
- the description of the error happened during the instruction execution.Copyright © 2010–2022. All rights reserved.