Class ReplayContextParameterResolverFactory

java.lang.Object
org.axonframework.messaging.eventhandling.replay.annotation.ReplayContextParameterResolverFactory
All Implemented Interfaces:
ParameterResolverFactory

public class ReplayContextParameterResolverFactory extends Object implements ParameterResolverFactory
An implementation of the ParameterResolverFactory which resolves the parameter annotated with ReplayContext.

Will resolve the parameter from the ProcessingContext if it contains a ReplayToken with a matching context of that type. Otherwise, it will resolve always to null. This parameter resolver will always match to prevent missing event handlers.

Since:
4.6.0
Author:
Mitchell Herrijgers
  • Constructor Details

    • ReplayContextParameterResolverFactory

      public ReplayContextParameterResolverFactory()
  • Method Details