public class JacksonifiedConnectionFactory
extends com.rabbitmq.client.ConnectionFactory
DEFAULT_AMQP_OVER_SSL_PORT, DEFAULT_AMQP_PORT, DEFAULT_CHANNEL_MAX, DEFAULT_CONNECTION_TIMEOUT, DEFAULT_FRAME_MAX, DEFAULT_HEARTBEAT, DEFAULT_HOST, DEFAULT_NUM_CONSUMER_THREADS, DEFAULT_PASS, DEFAULT_USER, DEFAULT_VHOST, USE_DEFAULT_PORT
Constructor and Description |
---|
JacksonifiedConnectionFactory(String host,
int port,
String username,
String password,
String virtualHost,
String uri,
int requestedChannelMax,
int requestedFrameMax,
int requestedHeartbeat,
int connectionTimeout,
Map<String,Object> clientProperties) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getConnectionTimeout() |
String |
getHost() |
String |
getPassword() |
int |
getPort() |
int |
getRequestedChannelMax() |
int |
getRequestedFrameMax() |
int |
getRequestedHeartbeat() |
Map<String,Object> |
getSerializableClientProperties() |
String |
getUri() |
String |
getUsername() |
String |
getVirtualHost() |
int |
hashCode() |
static JacksonifiedConnectionFactory |
makeDefaultConnectionFactory() |
void |
setUri(String uriString) |
void |
setUri(URI uri) |
clone, configureSocket, createFrameHandler, createFrameHandler, getClientProperties, getNumConsumerThreads, getSaslConfig, getSocketFactory, isSSL, newConnection, newConnection, newConnection, newConnection, setClientProperties, setConnectionTimeout, setHost, setNumConsumerThreads, setPassword, setPort, setRequestedChannelMax, setRequestedFrameMax, setRequestedHeartbeat, setSaslConfig, setSocketFactory, setUsername, setVirtualHost, useSslProtocol, useSslProtocol, useSslProtocol, useSslProtocol
public JacksonifiedConnectionFactory(String host, int port, String username, String password, String virtualHost, String uri, int requestedChannelMax, int requestedFrameMax, int requestedHeartbeat, int connectionTimeout, Map<String,Object> clientProperties) throws Exception
Exception
public static JacksonifiedConnectionFactory makeDefaultConnectionFactory() throws Exception
Exception
public String getHost()
getHost
in class com.rabbitmq.client.ConnectionFactory
public int getPort()
getPort
in class com.rabbitmq.client.ConnectionFactory
public String getUsername()
getUsername
in class com.rabbitmq.client.ConnectionFactory
public String getPassword()
getPassword
in class com.rabbitmq.client.ConnectionFactory
public String getVirtualHost()
getVirtualHost
in class com.rabbitmq.client.ConnectionFactory
public String getUri()
public void setUri(URI uri) throws URISyntaxException, NoSuchAlgorithmException, KeyManagementException
setUri
in class com.rabbitmq.client.ConnectionFactory
URISyntaxException
NoSuchAlgorithmException
KeyManagementException
public void setUri(String uriString) throws URISyntaxException, NoSuchAlgorithmException, KeyManagementException
setUri
in class com.rabbitmq.client.ConnectionFactory
URISyntaxException
NoSuchAlgorithmException
KeyManagementException
public int getRequestedChannelMax()
getRequestedChannelMax
in class com.rabbitmq.client.ConnectionFactory
public int getRequestedFrameMax()
getRequestedFrameMax
in class com.rabbitmq.client.ConnectionFactory
public int getRequestedHeartbeat()
getRequestedHeartbeat
in class com.rabbitmq.client.ConnectionFactory
public int getConnectionTimeout()
getConnectionTimeout
in class com.rabbitmq.client.ConnectionFactory
Copyright © 2011–2015. All rights reserved.