Class RecoveryAwareAMQConnectionFactory
- java.lang.Object
-
- com.rabbitmq.client.impl.recovery.RecoveryAwareAMQConnectionFactory
-
public class RecoveryAwareAMQConnectionFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description RecoveryAwareAMQConnectionFactory(ConnectionParams params, FrameHandlerFactory factory, AddressResolver addressResolver)
RecoveryAwareAMQConnectionFactory(ConnectionParams params, FrameHandlerFactory factory, AddressResolver addressResolver, MetricsCollector metricsCollector)
RecoveryAwareAMQConnectionFactory(ConnectionParams params, FrameHandlerFactory factory, List<Address> addrs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RecoveryAwareAMQConnection
createConnection(ConnectionParams params, FrameHandler handler, MetricsCollector metricsCollector)
RecoveryAwareAMQConnection
newConnection()
-
-
-
Constructor Detail
-
RecoveryAwareAMQConnectionFactory
public RecoveryAwareAMQConnectionFactory(ConnectionParams params, FrameHandlerFactory factory, List<Address> addrs)
-
RecoveryAwareAMQConnectionFactory
public RecoveryAwareAMQConnectionFactory(ConnectionParams params, FrameHandlerFactory factory, AddressResolver addressResolver)
-
RecoveryAwareAMQConnectionFactory
public RecoveryAwareAMQConnectionFactory(ConnectionParams params, FrameHandlerFactory factory, AddressResolver addressResolver, MetricsCollector metricsCollector)
-
-
Method Detail
-
newConnection
public RecoveryAwareAMQConnection newConnection() throws IOException, TimeoutException
- Returns:
- an interface to the connection
- Throws:
IOException
- if it encounters a problemTimeoutException
-
createConnection
protected RecoveryAwareAMQConnection createConnection(ConnectionParams params, FrameHandler handler, MetricsCollector metricsCollector)
-
-