I am using axon for CQRS, Saga pattern.Now I have a scenario where one microservice send a command to another microservice. Can we do that using Axon command bus processing.
0
votes
1 Answers
4
votes
Axon provides DistributedCommandBus
implementation of CommandBus
which you'll need to set up for your microservices in order to have Axon routing commands to the correct Aggregate.
The 'out of the box' support in the framework for connecting different segments of a command bus is done either via JGroups or SpringCloud. It is also possible to have all this wired up using AxonHub. Of course, you can always provide your implementation.
Hope this helps!