Virtual hosts (vhosts) RabbitMQ میں منطقی علیحدگی فراہم کرتے ہیں — queues، exchanges، اور permissions کے لیے الگ namespaces۔ یہ ایک RabbitMQ instance کو متعدد علیحدہ ایپلیکیشنز یا ماحول کی خدمت کرنے دیتے ہیں۔
Virtual hosts کیا ہیں
VIRTUAL HOST (vhost) → a logically isolated namespace within a RabbitMQ broker:
→ each vhost has its OWN queues, exchanges, bindings (isolated from other vhosts)
→ its own PERMISSIONS (users granted access per vhost)
→ like separate "virtual brokers" within one physical broker
→ partitions a single RabbitMQ instance into isolated environments
