org.apache.qpid.client
Class AMQBrokerDetails
java.lang.Object
org.apache.qpid.client.AMQBrokerDetails
- All Implemented Interfaces:
- BrokerDetails
public class AMQBrokerDetails
- extends Object
- implements BrokerDetails
Fields inherited from interface org.apache.qpid.jms.BrokerDetails |
CLIENT_ID, DEFAULT_CONNECT_TIMEOUT, DEFAULT_PORT, DEFAULT_TRANSPORT, OPTIONS_CONNECT_DELAY, OPTIONS_CONNECT_TIMEOUT, OPTIONS_HEARTBEAT, OPTIONS_IDLE_TIMEOUT, OPTIONS_KEY_STORE, OPTIONS_KEY_STORE_PASSWORD, OPTIONS_RETRY, OPTIONS_SASL_ENCRYPTION, OPTIONS_SASL_MECHS, OPTIONS_SASL_PROTOCOL_NAME, OPTIONS_SASL_SERVER_NAME, OPTIONS_SSL, OPTIONS_SSL_CERT_ALIAS, OPTIONS_SSL_VERIFY_HOSTNAME, OPTIONS_TCP_NO_DELAY, OPTIONS_TRUST_STORE, OPTIONS_TRUST_STORE_PASSWORD, PASSWORD, PROTOCOL_TCP, PROTOCOL_TLS, SOCKET, TCP, URL_FORMAT_EXAMPLE, USE_SSL_DEFAULT, USERNAME, VIRTUAL_HOST, VM |
AMQBrokerDetails
public AMQBrokerDetails()
AMQBrokerDetails
public AMQBrokerDetails(String url)
throws org.apache.qpid.url.URLSyntaxException
- Throws:
org.apache.qpid.url.URLSyntaxException
AMQBrokerDetails
public AMQBrokerDetails(String host,
int port,
SSLConfiguration sslConfiguration)
getHost
public String getHost()
- Specified by:
getHost
in interface BrokerDetails
setHost
public void setHost(String _host)
- Specified by:
setHost
in interface BrokerDetails
getPort
public int getPort()
- Specified by:
getPort
in interface BrokerDetails
setPort
public void setPort(int _port)
- Specified by:
setPort
in interface BrokerDetails
getTransport
public String getTransport()
- Specified by:
getTransport
in interface BrokerDetails
setTransport
public void setTransport(String _transport)
- Specified by:
setTransport
in interface BrokerDetails
getProperty
public String getProperty(String key)
- Specified by:
getProperty
in interface BrokerDetails
setProperty
public void setProperty(String key,
String value)
- Specified by:
setProperty
in interface BrokerDetails
getTimeout
public long getTimeout()
- Specified by:
getTimeout
in interface BrokerDetails
getBooleanProperty
public boolean getBooleanProperty(String propName)
- Specified by:
getBooleanProperty
in interface BrokerDetails
setTimeout
public void setTimeout(long timeout)
- Specified by:
setTimeout
in interface BrokerDetails
getSSLConfiguration
public SSLConfiguration getSSLConfiguration()
- Specified by:
getSSLConfiguration
in interface BrokerDetails
setSSLConfiguration
public void setSSLConfiguration(SSLConfiguration sslConfig)
- Specified by:
setSSLConfiguration
in interface BrokerDetails
toString
public String toString()
- Specified by:
toString
in interface BrokerDetails
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Specified by:
equals
in interface BrokerDetails
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
checkTransport
public static String checkTransport(String broker)
getProperties
public Map<String,String> getProperties()
- Description copied from interface:
BrokerDetails
- Ex: keystore path
- Specified by:
getProperties
in interface BrokerDetails
- Returns:
- the Properties associated with this connection.
setProperties
public void setProperties(Map<String,String> props)
- Description copied from interface:
BrokerDetails
- Sets the properties associated with this connection
- Specified by:
setProperties
in interface BrokerDetails
- Parameters:
props
- the new p[roperties.
Licensed to the Apache Software Foundation