A RabbitMQ rugalmas exchange-ei és binding-jei különféle üzenetkezelési mintákat támogatnak — munkasorok, publish/subscribe, routing, topics és request/reply (RPC). Ezen minták megértése kulcsfontosságú a RabbitMQ eltérő kommunikációs igények szerinti használatához.
Munkasorok (feladatelosztás)
WORK QUEUE → distribute tasks among multiple WORKERS (competing consumers):
→ producer → queue → multiple consumers (each message to ONE worker) → parallel processing
→ for: distributing background work; scaling task processing
Publish/Subscribe (szórás)
PUB/SUB → broadcast a message to MULTIPLE consumers (each gets a copy):
→ FANOUT exchange → every bound queue gets the message → all consumers receive it
→ for: broadcasting events to all interested parties (notifications, updates)
