[rabbitmq-discuss] STOMP plugin and virtual hosts
simon at rabbitmq.com
Tue Jul 19 11:44:11 BST 2011
On 19/07/11 10:55, Toby Corkindale wrote:
> Hi everyone,
> I've been using the STOMP plugin with RabbitMQ for some time now,
> successfully. I've just been using the default "/" virtual host.
> I'm now trying to work on partitioning different things into their own
> virtual hosts, but I'm not sure how this works with the STOMP plugin.
> How do I specify which virtual host to attempt to write to from within
> it? Do I put it in the destination field? Is it a header?
On CONNECT, STOMP 1.1 defines a "host" header. If present, Rabbit will
interpret this as the virtual host to use.
More information about the rabbitmq-discuss