Class AloConnectionFactory

  • All Implemented Interfaces:
    Cloneable

    public class AloConnectionFactory
    extends com.rabbitmq.client.ConnectionFactory
    ConnectionFactory extension with support for multiple hosts and instantiation via properties. Configuration properties are the same ones defined by ConnectionFactoryConfigurator
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String DISABLED  
      static String HOSTS
      Comma-separated list of host[:port] pairs
      static String SSL
      Configuration for ssl.
      static String VHOST
      Alias for ConnectionFactoryConfigurator.VIRTUAL_HOST
      • 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
      AloConnectionFactory​(List<com.rabbitmq.client.Address> addresses)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static AloConnectionFactory create​(Map<String,​?> properties)  
      static AloConnectionFactory from​(Map<String,​?> properties)
      Deprecated.
      String getHost()  
      int getPort()  
      com.rabbitmq.client.Connection newConnection()  
      com.rabbitmq.client.Connection newConnection​(String connectionName)  
      com.rabbitmq.client.Connection newConnection​(ExecutorService executor)  
      com.rabbitmq.client.Connection newConnection​(ExecutorService executor, String connectionName)  
      void setHost​(String host)  
      void setPort​(int port)  
      • Methods inherited from class com.rabbitmq.client.ConnectionFactory

        clone, computeDefaultTlsProtocol, createAddressResolver, createConnection, createFrameHandlerFactory, enableHostnameVerification, enableHostnameVerificationForBlockingIo, enableHostnameVerificationForNio, ensureUnsignedShort, getChannelRpcTimeout, getClientProperties, getConnectionTimeout, getExceptionHandler, getHandshakeTimeout, getMetricsCollector, getNetworkRecoveryInterval, getNioParams, getPassword, 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, params, portOrDefault, processUriQueryParameter, setAutomaticRecoveryEnabled, setChannelRpcTimeout, setChannelShouldCheckRpcResponseType, setClientProperties, setConnectionRecoveryTriggeringCondition, setConnectionTimeout, setCredentialsProvider, setCredentialsRefreshService, setErrorOnWriteListener, setExceptionHandler, setHandshakeTimeout, setHeartbeatExecutor, setMaxInboundMessageBodySize, setMetricsCollector, setNetworkRecoveryInterval, setNetworkRecoveryInterval, setNioParams, setPassword, setRecoveredQueueNameSupplier, 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