org.springframework.amqp.rabbit.connection
Interface ConnectionFactory
- All Known Implementing Classes:
- AbstractConnectionFactory, CachingConnectionFactory
public interface ConnectionFactory
An interface based ConnectionFactory for creating Connections.
NOTE: The Rabbit API contains a ConnectionFactory class (same name).
createConnection
Connection createConnection()
throws org.springframework.amqp.AmqpException
- Throws:
org.springframework.amqp.AmqpException
getHost
java.lang.String getHost()
getPort
int getPort()
getVirtualHost
java.lang.String getVirtualHost()
addConnectionListener
void addConnectionListener(ConnectionListener listener)