virtualHost
Purpose
Sets the virtual host to use on the connection.Examples
rabbitmq { connection = { connection( host: "rabbit.example.com", username: "foo", password: "bar", virtualHost: "vhost1" ) } }
The native RabbitMQ Grails plugin provides easily consumable messaging functionality.
(Quick Reference)
virtualHostPurposeSets the virtual host to use on the connection.Examplesrabbitmq { connection = { connection( host: "rabbit.example.com", username: "foo", password: "bar", virtualHost: "vhost1" ) } } DescriptionThe virtual host is useful to segregate exchanges and queues when multiple applications are using the same physical RabbitMQ server. If this is omitted, the default virtual host is used. |
Command LineConnection ConfigurationConsumer ConfigurationRabbit Message Publisher |