org.springframework.amqp.rabbit.connection
Interface ConnectionFactory
- All Known Implementing Classes:
- AbstractConnectionFactory, 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 AmqpException
- Throws:
AmqpException
getHost
String getHost()
getPort
int getPort()
getVirtualHost
String getVirtualHost()
addConnectionListener
void addConnectionListener(ConnectionListener listener)
Copyright © 2011. All Rights Reserved.