Tacaíonn malartáin agus nasc leochaileach RabbitMQ le patrúin teachtaireachta éagsúla — filaí oibre, foilsiú/síntiús, ródú, topaicí, agus iarratas/freagra (RPC). Is ríthábhachtach na patrúin seo a thuiscint chun RabbitMQ a úsáid ar bhealach éifeachtach do dhíreach gach riachtanas cumarsáide.
Filaí oibre (dáileadh tasc)
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
Foilsiú/Síntiús (craolachan)
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)
