SSL connections to RabbitMQ
I'm trying to work out how I'd make an SSL connection to a RabbitMQ server. I see that the com.rabbitmq.client.ConnectionFactory has several useSslProtocol() methods that seem like what I'm looking for. I've searched through the latest source of spring-amqp (as of Mon Mar 28 18:16:59 2011 +0100), and I don't see anything dealing with SSL anywhere. One way I think I could make it work is to create my own Rabbit ConnectionFactory, call one of the useSslProtocol() methods, and then inject the factory via constructor into the CachingConnectionFactory. Is that the recommended way to do it?