Virtual host (vhost) ใน RabbitMQ ให้ การแยกเชิงตรรกะ ภายใน broker เดียว — namespace แยกสำหรับ queue, exchange และ permission มันช่วยให้ RabbitMQ instance เดียวรองรับหลายแอปพลิเคชันหรือ environment ที่แยกออกจากกันได้
virtual host คืออะไร
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
