I concetti fondamentali di RabbitMQ includono produttori (inviano messaggi), exchange (instradano messaggi), code (mantengono messaggi), binding (regole che collegano exchange a code), e consumer (ricevono messaggi). Comprendere come i messaggi fluiscono attraverso di essi è fondamentale.
I componenti principali
PRODUCER → sends messages (to an EXCHANGE, not directly to a queue)
EXCHANGE → receives messages and ROUTES them to queues (based on rules/type)
QUEUE → holds messages until consumed (a buffer; FIFO-ish)
BINDING → a rule linking an exchange to a queue (how/when to route there)
CONSUMER → receives and processes messages from a queue
→ producer → exchange → (binding rules) → queue(s) → consumer
