Οι βασικές έννοιες του RabbitMQ περιλαμβάνουν producers (στέλνουν μηνύματα), exchanges (δρομολογούν μηνύματα), queues (κρατούν μηνύματα), bindings (κανόνες που συνδέουν exchanges με queues), και consumers (λαμβάνουν μηνύματα). Η κατανόηση του πώς ρέουν τα μηνύματα μέσα από αυτά είναι θεμελιώδης.
Τα βασικά στοιχεία
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
