Class EventSourcedBehaviorWithEnforcedReplies<Command,​Event,​State>


  • public abstract class EventSourcedBehaviorWithEnforcedReplies<Command,​Event,​State>
    extends EventSourcedBehavior<Command,​Event,​State>
    A EventSourcedBehavior that is enforcing that replies to commands are not forgotten. There will be compilation errors if the returned effect isn't a ReplyEffect, which can be created with Effects().reply, Effects().noReply, EffectBuilder.thenReply, or EffectBuilder.thenNoReply.