I have 2 apps developed with spring boot:
App1:
- exposes an API for app2, for example /api/members
- makes a call to app2 in order to retrieve weather details, for example /api/weather
App2:
- exposes an API for app1, /api/weather
- makes a call to app1 in order to retrieve member details, /api/members
The communication between them is made using HTTP at the moment. Is there a way to configure rabbitMQ inside spring boot to act as a consumer on an exchange, and a producer on another one? Would this be ok from the architectural POV? I could not find any articles related to this. Any links/ examples would be greatly appreciated.