Package com.github.fridujo.rabbitmq.mock
Class MockConnectionFactory
- java.lang.Object
-
- com.rabbitmq.client.ConnectionFactory
-
- com.github.fridujo.rabbitmq.mock.ConfigurableConnectionFactory<MockConnectionFactory>
-
- com.github.fridujo.rabbitmq.mock.MockConnectionFactory
-
- All Implemented Interfaces:
Cloneable
public class MockConnectionFactory extends ConfigurableConnectionFactory<MockConnectionFactory>
-
-
Field Summary
-
Fields inherited from class com.github.fridujo.rabbitmq.mock.ConfigurableConnectionFactory
mockNode
-
Fields inherited from class com.rabbitmq.client.ConnectionFactory
DEFAULT_AMQP_OVER_SSL_PORT, DEFAULT_AMQP_PORT, DEFAULT_CHANNEL_MAX, DEFAULT_CHANNEL_RPC_TIMEOUT, DEFAULT_CONNECTION_TIMEOUT, DEFAULT_FRAME_MAX, DEFAULT_HANDSHAKE_TIMEOUT, DEFAULT_HEARTBEAT, DEFAULT_HOST, DEFAULT_NETWORK_RECOVERY_INTERVAL, DEFAULT_PASS, DEFAULT_SHUTDOWN_TIMEOUT, DEFAULT_USER, DEFAULT_VHOST, DEFAULT_WORK_POOL_TIMEOUT, USE_DEFAULT_PORT
-
-
Constructor Summary
Constructors Constructor Description MockConnectionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MockConnectionnewConnection()MockConnectionnewConnection(ExecutorService executor, com.rabbitmq.client.AddressResolver addressResolver, String clientProvidedName)-
Methods inherited from class com.github.fridujo.rabbitmq.mock.ConfigurableConnectionFactory
enableConsistentHashPlugin, withAdditionalExchange
-
Methods inherited from class com.rabbitmq.client.ConnectionFactory
clone, computeDefaultTlsProtocol, createAddressResolver, createConnection, createFrameHandlerFactory, enableHostnameVerification, enableHostnameVerificationForBlockingIo, enableHostnameVerificationForNio, getChannelRpcTimeout, getClientProperties, getConnectionTimeout, getExceptionHandler, getHandshakeTimeout, getHost, getMetricsCollector, getNetworkRecoveryInterval, getNioParams, getPassword, getPort, getRecoveryDelayHandler, getRequestedChannelMax, getRequestedFrameMax, getRequestedHeartbeat, getSaslConfig, getShutdownTimeout, getSocketConfigurator, getSocketFactory, getThreadFactory, getTopologyRecoveryExecutor, getUsername, getVirtualHost, getWorkPoolTimeout, isAutomaticRecoveryEnabled, isChannelShouldCheckRpcResponseType, isSSL, isTopologyRecoveryEnabled, load, load, load, load, load, load, newConnection, newConnection, newConnection, newConnection, newConnection, newConnection, newConnection, newConnection, newConnection, newConnection, newConnection, newConnection, newConnection, params, portOrDefault, setAutomaticRecoveryEnabled, setChannelRpcTimeout, setChannelShouldCheckRpcResponseType, setClientProperties, setConnectionRecoveryTriggeringCondition, setConnectionTimeout, setCredentialsProvider, setErrorOnWriteListener, setExceptionHandler, setHandshakeTimeout, setHeartbeatExecutor, setHost, setMetricsCollector, setNetworkRecoveryInterval, setNetworkRecoveryInterval, setNioParams, setPassword, setPort, setRecoveryDelayHandler, setRequestedChannelMax, setRequestedFrameMax, setRequestedHeartbeat, setSaslConfig, setSharedExecutor, setShutdownExecutor, setShutdownTimeout, setSocketConfigurator, setSocketFactory, setSslContextFactory, setThreadFactory, setTopologyRecoveryEnabled, setTopologyRecoveryExecutor, setTopologyRecoveryFilter, setTopologyRecoveryRetryHandler, setTrafficListener, setUri, setUri, setUsername, setVirtualHost, setWorkPoolTimeout, useBlockingIo, useNio, useSslProtocol, useSslProtocol, useSslProtocol, useSslProtocol
-
-
-
-
Method Detail
-
newConnection
public MockConnection newConnection(ExecutorService executor, com.rabbitmq.client.AddressResolver addressResolver, String clientProvidedName)
- Overrides:
newConnectionin classcom.rabbitmq.client.ConnectionFactory
-
newConnection
public MockConnection newConnection()
- Overrides:
newConnectionin classcom.rabbitmq.client.ConnectionFactory
-
-