/** * @param defaultConnectionFactory the fallback connection factory to use if the queue can't be located. * @param addresses the rabbitmq server addresses (host:port, ...). * @param adminUris the rabbitmq admin addresses (http://host:port, ...). * @param nodes the rabbitmq nodes corresponding to addresses (rabbit@server1, ...) must be the same length * as addresses. * @param vhost the virtual host. * @param username the user name. * @param password the password. * @param useSSL use SSL. * @param keyStore the key store resource (e.g. "file:/foo/keystore"). * @param trustStore the trust store resource (e.g. "file:/foo/truststore"). * @param keyStorePassPhrase the pass phrase for the key store. * @param trustStorePassPhrase the pass phrase for the trust store. */ public LocalizedQueueConnectionFactory(ConnectionFactory defaultConnectionFactory, String[] addresses, String[] adminUris, String[] nodes, String vhost, String username, String password, boolean useSSL, String keyStore, String trustStore, String keyStorePassPhrase, String trustStorePassPhrase) { this(defaultConnectionFactory, adminUris, nodesAddressesToMap(nodes, addresses), vhost, username, password, useSSL, null, keyStore, trustStore, keyStorePassPhrase, trustStorePassPhrase); }
/** * @param defaultConnectionFactory the fallback connection factory to use if the queue can't be located. * @param addresses the rabbitmq server addresses (host:port, ...). * @param adminUris the rabbitmq admin addresses (http://host:port, ...). * @param nodes the rabbitmq nodes corresponding to addresses (rabbit@server1, ...) must be the same length * as addresses. * @param vhost the virtual host. * @param username the user name. * @param password the password. * @param useSSL use SSL. * @param keyStore the key store resource (e.g. "file:/foo/keystore"). * @param trustStore the trust store resource (e.g. "file:/foo/truststore"). * @param keyStorePassPhrase the pass phrase for the key store. * @param trustStorePassPhrase the pass phrase for the trust store. */ public LocalizedQueueConnectionFactory(ConnectionFactory defaultConnectionFactory, String[] addresses, String[] adminUris, String[] nodes, String vhost, String username, String password, boolean useSSL, String keyStore, String trustStore, String keyStorePassPhrase, String trustStorePassPhrase) { this(defaultConnectionFactory, adminUris, nodesAddressesToMap(nodes, addresses), vhost, username, password, useSSL, null, keyStore, trustStore, keyStorePassPhrase, trustStorePassPhrase); }
/** * @param defaultConnectionFactory the fallback connection factory to use if the queue * can't be located. * @param addresses the rabbitmq server addresses (host:port, ...). * @param adminUris the rabbitmq admin addresses (http://host:port, ...) * @param nodes the rabbitmq nodes corresponding to addresses (rabbit@server1, ...) * must be the same length as addresses. * @param vhost the virtual host. * @param username the user name. * @param password the password. * @param useSSL use SSL. * @param sslPropertiesLocation the SSL properties location. */ public LocalizedQueueConnectionFactory(ConnectionFactory defaultConnectionFactory, String[] addresses, String[] adminUris, String[] nodes, String vhost, String username, String password, boolean useSSL, @Nullable Resource sslPropertiesLocation) { this(defaultConnectionFactory, adminUris, nodesAddressesToMap(nodes, addresses), vhost, username, password, useSSL, sslPropertiesLocation, null, null, null, null); }
/** * @param defaultConnectionFactory the fallback connection factory to use if the queue * can't be located. * @param addresses the rabbitmq server addresses (host:port, ...). * @param adminUris the rabbitmq admin addresses (http://host:port, ...) * @param nodes the rabbitmq nodes corresponding to addresses (rabbit@server1, ...) * must be the same length as addresses. * @param vhost the virtual host. * @param username the user name. * @param password the password. * @param useSSL use SSL. * @param sslPropertiesLocation the SSL properties location. */ public LocalizedQueueConnectionFactory(ConnectionFactory defaultConnectionFactory, String[] addresses, String[] adminUris, String[] nodes, String vhost, String username, String password, boolean useSSL, @Nullable Resource sslPropertiesLocation) { this(defaultConnectionFactory, adminUris, nodesAddressesToMap(nodes, addresses), vhost, username, password, useSSL, sslPropertiesLocation, null, null, null, null); }