I'm trying to use the new Spring amqp features to connect to a rabbitMQ-server. My problem is that the queue that I want to connect to is located under a different virtual host on the MQ-server instead of the default one. I can't find where I can set that up. I hoped there would be a setter-method or something for that somewhere, like setVirtualMachine(vm).
I assume I have to set that up, otherwise it should be impossible to know which queue I' trying to get data from if there were 2 different queues with the same name under 2 different virtual hosts.
Any input would be appreciated.