Query: Facing an issue to get updated data in query handler

Hi,

I am facing an issue to get updated data in query handler when query is called immediately after command is executed.

axon-spring-boot-starter: 4.1.2

following is my code snippet:

Querying and event handling are two different things.

If a user queries the reader side database but the eventstore has not received the committed event then there is nothing to be pushed out of eventstore to event handlers.

If You are interested in the event for this particular car id, I would change the query to subscription queries rather than a point to point query.