I just start to learn about microservices and message queue (rabbitmq) and I understand some exchanges as Direct, Topic,Fanout,Header,etc. But I do not clear about something like when should we close the connections? How many queue and exchange we should have? Many thanks (ps: I am using express for running services)
I already create connections, exchanges, queues and send and receive messages successful. I expect to know the design or knowledge to build the whole system
I recommend you to go over RabbitMQ documentation, specifically the API guide (here is the Java guide for example).