I am setting up a stand alone application which is supposed to
subscribe to events from an axon application. The application is not
an "axon based application" since only subscribe to events and doesn't
do commands, but it would still be very convenient to use the axon
annotation @EventHandler and let a ClusteringEventBus handle the
routing of events within the application.
The problem seems to be that when I throw in the <axon:annotation-
config/> in my spring config, it complains that there is no command
bus configured which is perfectly true since I won't be doing any
commands. Couldn't axon just wire up my event handlers to the event
bus without require a command bus? Is the something conceptually wrong
with the idea or is it something that you have thought on supporting?
As I see it this would be a very neat way of physically separating the
command side from the query side as well...