I’ve read many articles concerning microservices architecture and I was wondering when to use AMQP or REST.
I’ve read that losing couple between services is a good thing and AMQP seems to be a good choice in that case. But if we use AMQP, this means that we dont need anymore REST endpoints (but it means that we lose hateoas concept).
But is REST really a good way to build my services ? Cause I wont use any endpoints… In which case one is better than another one ?
When should I use one or another ?