Interface InstructionResultPublisher
Deprecated.
in through use of the AxonServer java connector
Interface that encapsulates the instruction result publication functionality.
- Since:
- 4.4
- Author:
- Sara Pellegrini
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidpublishFailureFor(String instructionId, String errorDescription) Deprecated.Notifies to Axon Server a failure during the execution of the specified instruction.voidpublishFailureFor(String instructionId, Throwable error) Deprecated.Notifies to Axon Server a failure during the execution of the specified instruction.voidpublishSuccessFor(String instructionId) Deprecated.Notifies to Axon Server a successful execution of the specified instruction.
-
Method Details
-
publishSuccessFor
Deprecated.Notifies to Axon Server a successful execution of the specified instruction.- Parameters:
instructionId- the identifier of the instruction that has been successfully processed.
-
publishFailureFor
Deprecated.Notifies to Axon Server a failure during the execution of the specified instruction.- Parameters:
instructionId- the identifier of the instruction.error- the error happened during the instruction execution.
-
publishFailureFor
Deprecated.Notifies to Axon Server a failure during the execution of the specified instruction.- Parameters:
instructionId- the identifier of the instruction.errorDescription- the description of the error happened during the instruction execution.
-