I’ve built a spring mvc web app as a test where I’m dispatching a
CreateUserCommand and handling it successfully in the same application.
Now I’ve divided the app into 2 separate applications where I’m dispatching the command form app1 and handling it in app2.
However, app2 isn’t handling the command. I suppose there is a missing configuration to tie the two apps together.
Do I need a distributed command bus? the 2 apps are on the same machine and are deployed to tomcat.
The only configuration I added to both applications is:
<axon:command-bus id=“commandBus” transaction-manager=“transactionManager”/>