Using QueryHandling with axon:axonserver:enabled = false and axon:distributed:enabled: true

Skip to first unread message


Aug 14, 2020, 6:55:57 AM8/14/20
to Axon Framework Users
hi team,

is there any example how to configure DistributedQueryBus as i am disabling axon server for using DistributedCommandBus  for Spring Cloud Routing.

how to configure QueryGateway to fire Query with axon server disabled.?


Steven van Beelen

Sep 16, 2020, 7:16:19 AM9/16/20
to Axon Framework Users
Hi Siddua,

There currently isn't a DistributedQueryBus implementation out there, as can be seen through this issue.
Reasoning behind the fact this is still outstanding, is because Axon Server provides a perfectly fine distributed query bus too.
And, you can use Axon Server for free as well, by using the Standard edition.

Granted, it doesn't give you a fault tolerant solution in all scenarios.
But, the work required to build a DistributedQueryBus based on other technologies (like JGroups or Spring Cloud Discovery) far exceeds the time AxonIQ currently has.
There has been a community contribution for the DistributedQueryBus, but he opted against building it once he noticed the amount of effort to make all of the features work.

Trusting this gives you the required information you  need Siddu!


PS. It is important to note that this mailing list will be discontinued as specified in this thread.
Instead of this mailing list we have moved to use a forum style of communication, at
Hope to see you there!

You received this message because you are subscribed to the Google Groups "Axon Framework Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
Reply all
Reply to author
0 new messages