Interface InstructionResultPublisher


@Deprecated public 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 Type
    Method
    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.
  • Method Details

    • publishSuccessFor

      void publishSuccessFor(String instructionId)
      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

      void publishFailureFor(String instructionId, Throwable error)
      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

      void publishFailureFor(String instructionId, String errorDescription)
      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.