Class CustomFailureLoggingCallback<C,R>

java.lang.Object
ai.stapi.axonsystem.configuration.implementations.CustomFailureLoggingCallback<C,R>
All Implemented Interfaces:
org.axonframework.commandhandling.CommandCallback<C,R>

public class CustomFailureLoggingCallback<C,R> extends Object implements org.axonframework.commandhandling.CommandCallback<C,R>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onResult(org.axonframework.commandhandling.CommandMessage<? extends C> commandMessage, org.axonframework.commandhandling.CommandResultMessage<? extends R> commandResultMessage)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.axonframework.commandhandling.CommandCallback

    wrap
  • Constructor Details

    • CustomFailureLoggingCallback

      public CustomFailureLoggingCallback(Logger logger)
  • Method Details

    • onResult

      public void onResult(@Nonnull org.axonframework.commandhandling.CommandMessage<? extends C> commandMessage, @Nonnull org.axonframework.commandhandling.CommandResultMessage<? extends R> commandResultMessage)
      Specified by:
      onResult in interface org.axonframework.commandhandling.CommandCallback<C,R>