Uses of Interface
org.axonframework.queryhandling.registration.DuplicateQueryHandlerResolver
Packages that use DuplicateQueryHandlerResolver
-
Uses of DuplicateQueryHandlerResolver in org.axonframework.queryhandling
Methods in org.axonframework.queryhandling with parameters of type DuplicateQueryHandlerResolverModifier and TypeMethodDescriptionSimpleQueryBus.Builder.duplicateQueryHandlerResolver(DuplicateQueryHandlerResolver duplicateQueryHandlerResolver) Sets the duplicate query handler resolver. -
Uses of DuplicateQueryHandlerResolver in org.axonframework.queryhandling.registration
Classes in org.axonframework.queryhandling.registration that implement DuplicateQueryHandlerResolverModifier and TypeClassDescriptionclassImplementation ofDuplicateQueryHandlerResolverthat throws aDuplicateQueryHandlerSubscriptionExceptionwhen a duplicate registration is detected.classImplementation of theDuplicateQueryHandlerResolverthat allows registrations to be overridden by new handlers, but logs this (on WARN level) to a given logger.Methods in org.axonframework.queryhandling.registration that return DuplicateQueryHandlerResolverModifier and TypeMethodDescriptionDuplicateQueryHandlerResolution.logAndAccept()ADuplicateQueryHandlerResolverimplementation which logs a warning message and resolve to returning both handlers as query handlers.DuplicateQueryHandlerResolution.rejectDuplicates()ADuplicateQueryHandlerResolverimplementation which throws aDuplicateQueryHandlerSubscriptionException.DuplicateQueryHandlerResolution.silentlyAdd()ADuplicateQueryHandlerResolverimplementation that allows handlers to silently add previous registered handlers for the same query.