Uses of Interface
org.axonframework.test.saga.FixtureConfiguration
Packages that use FixtureConfiguration
-
Uses of FixtureConfiguration in org.axonframework.test.saga
Classes in org.axonframework.test.saga that implement FixtureConfigurationModifier and TypeClassDescriptionclassFixture for testing Sagas in a given-when-then style, carrying the Axon Framework 4 API so a migrating test suite keeps its shape.Methods in org.axonframework.test.saga that return FixtureConfigurationModifier and TypeMethodDescriptionFixtureConfiguration.customize(UnaryOperator<MessagingConfigurer> customization) Customizes theMessagingConfigurerthe fixture builds the Saga on, for anything this interface does not expose.SagaTestFixture.customize(UnaryOperator<MessagingConfigurer> customization) FixtureConfiguration.registerDeadlineDispatchInterceptor(MessageDispatchInterceptor<? super DeadlineMessage> deadlineDispatchInterceptor) Registers a deadline dispatch interceptor which will always be invoked before a deadline is dispatched (scheduled) on theDeadlineManagerto perform a task specified in the interceptor.SagaTestFixture.registerDeadlineDispatchInterceptor(MessageDispatchInterceptor<? super DeadlineMessage> deadlineDispatchInterceptor) FixtureConfiguration.registerDeadlineHandlerInterceptor(MessageHandlerInterceptor<? super DeadlineMessage> deadlineHandlerInterceptor) Registers a deadline handler interceptor which will always be invoked before a deadline is handled to perform a task specified in the interceptor.SagaTestFixture.registerDeadlineHandlerInterceptor(MessageHandlerInterceptor<? super DeadlineMessage> deadlineHandlerInterceptor) FixtureConfiguration.registerEventHandlerInterceptor(MessageHandlerInterceptor<? super EventMessage> interceptor) Registers the giveninterceptor, invoked around the Saga's event handling.SagaTestFixture.registerEventHandlerInterceptor(MessageHandlerInterceptor<? super EventMessage> interceptor) FixtureConfiguration.registerFieldFilter(FieldFilter fieldFilter) Registers the givenfieldFilter, defining which fields are compared when matching messages.SagaTestFixture.registerFieldFilter(FieldFilter fieldFilter) FixtureConfiguration.registerHandlerDefinition(HandlerDefinition handlerDefinition) Registers the givenhandlerDefinition, used to create the Saga's handlers.SagaTestFixture.registerHandlerDefinition(HandlerDefinition handlerDefinition) FixtureConfiguration.registerHandlerEnhancerDefinition(HandlerEnhancerDefinition handlerEnhancerDefinition) Registers the givenhandlerEnhancerDefinition, used to enhance the Saga's handlers.SagaTestFixture.registerHandlerEnhancerDefinition(HandlerEnhancerDefinition definition) FixtureConfiguration.registerIgnoredField(Class<?> declaringClass, String fieldName) Indicates that a field with the givenfieldName, declared in the givendeclaringClass, is ignored when comparing messages.SagaTestFixture.registerIgnoredField(Class<?> declaringClass, String fieldName) FixtureConfiguration.registerParameterResolverFactory(ParameterResolverFactory parameterResolverFactory) Registers the givenparameterResolverFactory, used to resolve the parameters of the Saga's handler methods.SagaTestFixture.registerParameterResolverFactory(ParameterResolverFactory parameterResolverFactory) FixtureConfiguration.registerStartRecordingCallback(Runnable callback) Registers the givencallback, invoked when the fixture starts recording what the Saga does, which is when the "when" phase begins.SagaTestFixture.registerStartRecordingCallback(Runnable callback) FixtureConfiguration.suppressExceptionInGivenPhase(boolean suppress) Sets whether a failure of a Saga handler during the "given" phase is suppressed rather than thrown.SagaTestFixture.suppressExceptionInGivenPhase(boolean suppress) FixtureConfiguration.withTransienceCheckDisabled()Deprecated, for removal: This API element is subject to removal in a future version.There is no transience check to disable.SagaTestFixture.withTransienceCheckDisabled()Deprecated, for removal: This API element is subject to removal in a future version.