public interface BrokerDetails
| Modifier and Type | Field and Description |
|---|---|
static String |
CLIENT_ID |
static int |
DEFAULT_CONNECT_TIMEOUT |
static int |
DEFAULT_PORT |
static String |
DEFAULT_TRANSPORT |
static String |
OPTIONS_CONNECT_DELAY |
static String |
OPTIONS_CONNECT_TIMEOUT |
static String |
OPTIONS_HEARTBEAT |
static String |
OPTIONS_IDLE_TIMEOUT
Deprecated.
|
static String |
OPTIONS_KEY_STORE |
static String |
OPTIONS_KEY_STORE_PASSWORD |
static String |
OPTIONS_RETRY |
static String |
OPTIONS_SASL_ENCRYPTION |
static String |
OPTIONS_SASL_MECHS |
static String |
OPTIONS_SASL_PROTOCOL_NAME |
static String |
OPTIONS_SASL_SERVER_NAME |
static String |
OPTIONS_SSL |
static String |
OPTIONS_SSL_CERT_ALIAS |
static String |
OPTIONS_SSL_VERIFY_HOSTNAME |
static String |
OPTIONS_TCP_NO_DELAY |
static String |
OPTIONS_TRUST_STORE |
static String |
OPTIONS_TRUST_STORE_PASSWORD |
static String |
PASSWORD |
static String |
PROTOCOL_TCP |
static String |
PROTOCOL_TLS |
static String |
TCP |
static String |
URL_FORMAT_EXAMPLE |
static boolean |
USE_SSL_DEFAULT |
static String |
USERNAME |
static String |
VIRTUAL_HOST |
| Modifier and Type | Method and Description |
|---|---|
ConnectionSettings |
buildConnectionSettings() |
boolean |
getBooleanProperty(String propName) |
String |
getHost() |
int |
getPort() |
Map<String,String> |
getProperties()
Ex: keystore path
|
String |
getProperty(String key) |
String |
getTransport() |
void |
setHost(String host) |
void |
setPort(int port) |
void |
setProperties(Map<String,String> props)
Sets the properties associated with this connection
|
void |
setProperty(String key,
String value) |
void |
setTransport(String transport) |
static final String OPTIONS_RETRY
static final String OPTIONS_CONNECT_TIMEOUT
static final String OPTIONS_CONNECT_DELAY
static final String OPTIONS_HEARTBEAT
@Deprecated static final String OPTIONS_IDLE_TIMEOUT
static final String OPTIONS_SASL_MECHS
static final String OPTIONS_SASL_ENCRYPTION
static final String OPTIONS_SSL
static final String OPTIONS_TCP_NO_DELAY
static final String OPTIONS_SASL_PROTOCOL_NAME
static final String OPTIONS_SASL_SERVER_NAME
static final String OPTIONS_TRUST_STORE
static final String OPTIONS_TRUST_STORE_PASSWORD
static final String OPTIONS_KEY_STORE
static final String OPTIONS_KEY_STORE_PASSWORD
static final String OPTIONS_SSL_VERIFY_HOSTNAME
static final String OPTIONS_SSL_CERT_ALIAS
static final int DEFAULT_PORT
static final String TCP
static final String DEFAULT_TRANSPORT
static final String URL_FORMAT_EXAMPLE
static final int DEFAULT_CONNECT_TIMEOUT
static final boolean USE_SSL_DEFAULT
static final String PROTOCOL_TCP
static final String PROTOCOL_TLS
static final String VIRTUAL_HOST
static final String CLIENT_ID
static final String USERNAME
static final String PASSWORD
String getHost()
void setHost(String host)
int getPort()
void setPort(int port)
String getTransport()
void setTransport(String transport)
Map<String,String> getProperties()
void setProperties(Map<String,String> props)
props - the new p[roperties.boolean getBooleanProperty(String propName)
ConnectionSettings buildConnectionSettings()
Copyright © 2006–2014 The Apache Software Foundation. All rights reserved.