I have developed Spring Boot + Axon (Bootiful CQRS with Axon)
code by taking reference from https://www.youtube.com/watch?v=Jp-rW-XOYzA&list=PLgGXSWYM2FpOa_FTla-x5Wd10dpmgrRC4&index=54
I've placed all by code here: https://github.com/JavaHelper/axon-tutorials/tree/master/axon-complaints-demo. The issue which I am facing is very weird issue.
Scenario-1:
If I start both the applications (one on 8080 and other on 8081)
and hit the below end-points, then nothing is appearing in the RabbitMQ queue and thus, nothing is coming when I hit the http://localhost:8081/
. It's blank.
CURL commands
curl -H "Content-Type:application/json" -d '{"company" : "apple", "description" : "My Kep"}' http://localhost:8080
curl -H "Content-Type:application/json" -d '{"company" : "apple", "description" : "Laptop not working"}' http://localhost:8080
curl -H "Content-Type:application/json" -d '{"company" : "Mastercrd", "description" : "Debit and Clearning does not works"}' http://localhost:8080
Scenario-2:
If I start the demo-complaints
first and then hit above curl command then RabbitMQ shows the queues count 3. After that I start the demo-complaints-stats
successfully, then nothing shows up on the hit of http://localhost:8081/
Could anyone please guide what's wrong ?
Source code link already provided.