public class AMQConnectionURL extends Object implements ConnectionURL, Serializable
AMQ_PROTOCOL, OPTIONS_BROKERLIST, OPTIONS_CLOSE_WHEN_NO_ROUTE, OPTIONS_COMPRESS_MESSAGES, OPTIONS_DEFAULT_QUEUE_EXCHANGE, OPTIONS_DEFAULT_TOPIC_EXCHANGE, OPTIONS_FAILOVER, OPTIONS_FAILOVER_CYCLE, OPTIONS_MAXPREFETCH, OPTIONS_MESSAGES_COMPRESSION_THRESHOLD_SIZE, OPTIONS_OBJECT_MESSAGE_CLASS_HIERARCHY_BLACK_LIST, OPTIONS_OBJECT_MESSAGE_CLASS_HIERARCHY_WHITE_LIST, OPTIONS_POPULATE_USER_ID, OPTIONS_REJECT_BEHAVIOUR, OPTIONS_SSL, OPTIONS_SYNC_ACK, OPTIONS_SYNC_CLIENT_ACK, OPTIONS_SYNC_PERSISTENCE, OPTIONS_SYNC_PUBLISH, OPTIONS_TEMPORARY_QUEUE_EXCHANGE, OPTIONS_TEMPORARY_TOPIC_EXCHANGE, OPTIONS_USE_LEGACY_MAP_MESSAGE_FORMAT, OPTIONS_USE_LEGACY_STREAM_MESSAGE_FORMAT, OPTIONS_VERIFY_QUEUE_ON_SEND, URL_0_10, URL_0_8| Constructor and Description |
|---|
AMQConnectionURL(String fullURL) |
public AMQConnectionURL(String fullURL) throws URLSyntaxException
URLSyntaxExceptionpublic String getURL()
getURL in interface ConnectionURLpublic String getFailoverMethod()
getFailoverMethod in interface ConnectionURLpublic void setFailoverMethod(String failoverMethod)
public String getFailoverOption(String key)
getFailoverOption in interface ConnectionURLpublic int getBrokerCount()
getBrokerCount in interface ConnectionURLpublic BrokerDetails getBrokerDetails(int index)
getBrokerDetails in interface ConnectionURLpublic void addBrokerDetails(BrokerDetails broker)
addBrokerDetails in interface ConnectionURLpublic void setBrokerDetails(List<BrokerDetails> brokers)
setBrokerDetails in interface ConnectionURLpublic List<BrokerDetails> getAllBrokerDetails()
getAllBrokerDetails in interface ConnectionURLpublic String getClientName()
getClientName in interface ConnectionURLpublic void setClientName(String clientName)
setClientName in interface ConnectionURLpublic String getUsername()
getUsername in interface ConnectionURLpublic void setUsername(String username)
setUsername in interface ConnectionURLpublic String getPassword()
getPassword in interface ConnectionURLpublic void setPassword(String password)
setPassword in interface ConnectionURLpublic String getVirtualHost()
getVirtualHost in interface ConnectionURLpublic void setVirtualHost(String virtuaHost)
setVirtualHost in interface ConnectionURLpublic String getOption(String key)
getOption in interface ConnectionURLpublic void setOption(String key, String value)
setOption in interface ConnectionURLpublic String getDefaultQueueExchangeName()
getDefaultQueueExchangeName in interface ConnectionURLpublic void setDefaultQueueExchangeName(String defaultQueueExchangeName)
public String getDefaultTopicExchangeName()
getDefaultTopicExchangeName in interface ConnectionURLpublic void setDefaultTopicExchangeName(String defaultTopicExchangeName)
public String getTemporaryQueueExchangeName()
getTemporaryQueueExchangeName in interface ConnectionURLpublic void setTemporaryQueueExchangeName(String temporaryQueueExchangeName)
public String getTemporaryTopicExchangeName()
getTemporaryTopicExchangeName in interface ConnectionURLpublic void setTemporaryTopicExchangeName(String temporaryTopicExchangeName)
Copyright © 2006–2018 The Apache Software Foundation. All rights reserved.