Class RecoveryAwareAMQConnectionFactory
java.lang.Object
com.rabbitmq.client.impl.recovery.RecoveryAwareAMQConnectionFactory
-
Constructor Summary
ConstructorDescriptionRecoveryAwareAMQConnectionFactory
(ConnectionParams params, FrameHandlerFactory factory, AddressResolver addressResolver) RecoveryAwareAMQConnectionFactory
(ConnectionParams params, FrameHandlerFactory factory, AddressResolver addressResolver, MetricsCollector metricsCollector, ObservationCollector observationCollector) RecoveryAwareAMQConnectionFactory
(ConnectionParams params, FrameHandlerFactory factory, List<Address> addrs) -
Method Summary
Modifier and TypeMethodDescriptionprotected RecoveryAwareAMQConnection
createConnection
(ConnectionParams params, FrameHandler handler, MetricsCollector metricsCollector)
-
Constructor Details
-
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, ObservationCollector observationCollector)
-
-
Method Details
-
newConnection
- Returns:
- an interface to the connection
- Throws:
IOException
- if it encounters a problemTimeoutException
-
createConnection
protected RecoveryAwareAMQConnection createConnection(ConnectionParams params, FrameHandler handler, MetricsCollector metricsCollector)
-