I have two microservices connected to different context in axon server. I wanted to publish query from one microservice and wanted the other microservice to handle it. But I'm getting no query handler found. Can anyone please guide me if this is possible?

I have two microservices connected to different context in axon server.
I wanted to publish query from one microservice and wanted the other microservice to handle it.
But I’m get no query handler found.
Can anyone please guide me if this is possible ?

You need to use a TargetContextResolver to route the query to the proper context.
Multi-Context - Axon Reference Guide (axoniq.io)