@QueryHandler
annotated functions.@QueryHandler
annotated methods. In the registration process the following information defines a given query handling function:queryName
field in the annotation as the query's name (this is optional and in its absence will default to the query payload).CardSummaryProjection
as being a Query Handler:Identical Query Handling methods in a single Query HandlerA query handler class can currently contain several identical query handling methods. The outcome of which method will actually be called is however unspecified.Note that this should be regarded as a very uncommon scenario, as typically identical query handling methods would be spread over several query handlers.