org.springframework.amqp.rabbit.connection
Interface ConnectionFactory
- All Known Implementing Classes:
- CachingConnectionFactory, SingleConnectionFactory
public interface ConnectionFactory
An interface based ConnectionFactory for creating Connections
.
NOTE: The Rabbit API contains a ConnectionFactory class (same name).
- Author:
- Mark Fisher, Dave Syer
createConnection
Connection createConnection()
throws IOException
- Throws:
IOException
getHost
String getHost()
getPort
int getPort()
getVirtualHost
String getVirtualHost()
Copyright © 2011. All Rights Reserved.