Through providing the functionality to describe query handling methods (as further explained in this section) and a dedicated bus for query messages, common message features such as interceptors and message monitoring can be used.
The next sections provide an overview of the tasks related to configuring the necessary components to start processing queries in an Axon application. To that end the approach to registering
@QueryHandlerannotated methods is discussed, as well as what options are present when it comes to dispatching queries.
Query TypesAxon Framework makes a distinction between three types of queries, namely (1) Point-to-Point queries, (2) Scatter-Gather queries, and (3) Subscription queries.Click the links for specifics on how to implement each type of query.