org.apache.qpid.jms
Interface ConnectionURL

All Known Implementing Classes:
AMQConnectionURL

public interface ConnectionURL

Connection URL format amqp://[user:pass@][clientid]/virtualhost?brokerlist='tcp://host:port?option=\'value\'&option=\'value\';vm://:3/virtualpath?option=\'value\''&failover='method?option=\'value\'&option='value''" Options are of course optional except for requiring a single broker in the broker list. The option seperator is defined to be either '&' or ','


Field Summary
static String AMQ_PROTOCOL
           
static String OPTIONS_BROKERLIST
           
static String OPTIONS_DEFAULT_QUEUE_EXCHANGE
           
static String OPTIONS_DEFAULT_TOPIC_EXCHANGE
           
static String OPTIONS_FAILOVER
           
static String OPTIONS_FAILOVER_CYCLE
           
static String OPTIONS_MAXPREFETCH
           
static String OPTIONS_SYNC_ACK
           
static String OPTIONS_SYNC_PERSISTENCE
           
static String OPTIONS_SYNC_PUBLISH
           
static String OPTIONS_TEMPORARY_QUEUE_EXCHANGE
           
static String OPTIONS_TEMPORARY_TOPIC_EXCHANGE
           
static String OPTIONS_USE_LEGACY_MAP_MESSAGE_FORMAT
           
static byte URL_0_10
           
static byte URL_0_8
           
 
Method Summary
 void addBrokerDetails(BrokerDetails broker)
           
 List<BrokerDetails> getAllBrokerDetails()
           
 int getBrokerCount()
           
 BrokerDetails getBrokerDetails(int index)
           
 String getClientName()
           
 AMQShortString getDefaultQueueExchangeName()
           
 AMQShortString getDefaultTopicExchangeName()
           
 String getFailoverMethod()
           
 String getFailoverOption(String key)
           
 String getOption(String key)
           
 String getPassword()
           
 AMQShortString getTemporaryQueueExchangeName()
           
 AMQShortString getTemporaryTopicExchangeName()
           
 String getURL()
           
 String getUsername()
           
 String getVirtualHost()
           
 void setBrokerDetails(List<BrokerDetails> brokers)
           
 void setClientName(String clientName)
           
 void setOption(String key, String value)
           
 void setPassword(String password)
           
 void setUsername(String username)
           
 void setVirtualHost(String virtualHost)
           
 

Field Detail

AMQ_PROTOCOL

static final String AMQ_PROTOCOL
See Also:
Constant Field Values

OPTIONS_SYNC_PERSISTENCE

static final String OPTIONS_SYNC_PERSISTENCE
See Also:
Constant Field Values

OPTIONS_MAXPREFETCH

static final String OPTIONS_MAXPREFETCH
See Also:
Constant Field Values

OPTIONS_SYNC_ACK

static final String OPTIONS_SYNC_ACK
See Also:
Constant Field Values

OPTIONS_SYNC_PUBLISH

static final String OPTIONS_SYNC_PUBLISH
See Also:
Constant Field Values

OPTIONS_USE_LEGACY_MAP_MESSAGE_FORMAT

static final String OPTIONS_USE_LEGACY_MAP_MESSAGE_FORMAT
See Also:
Constant Field Values

OPTIONS_BROKERLIST

static final String OPTIONS_BROKERLIST
See Also:
Constant Field Values

OPTIONS_FAILOVER

static final String OPTIONS_FAILOVER
See Also:
Constant Field Values

OPTIONS_FAILOVER_CYCLE

static final String OPTIONS_FAILOVER_CYCLE
See Also:
Constant Field Values

OPTIONS_DEFAULT_TOPIC_EXCHANGE

static final String OPTIONS_DEFAULT_TOPIC_EXCHANGE
See Also:
Constant Field Values

OPTIONS_DEFAULT_QUEUE_EXCHANGE

static final String OPTIONS_DEFAULT_QUEUE_EXCHANGE
See Also:
Constant Field Values

OPTIONS_TEMPORARY_TOPIC_EXCHANGE

static final String OPTIONS_TEMPORARY_TOPIC_EXCHANGE
See Also:
Constant Field Values

OPTIONS_TEMPORARY_QUEUE_EXCHANGE

static final String OPTIONS_TEMPORARY_QUEUE_EXCHANGE
See Also:
Constant Field Values

URL_0_8

static final byte URL_0_8
See Also:
Constant Field Values

URL_0_10

static final byte URL_0_10
See Also:
Constant Field Values
Method Detail

getURL

String getURL()

getFailoverMethod

String getFailoverMethod()

getFailoverOption

String getFailoverOption(String key)

getBrokerCount

int getBrokerCount()

getBrokerDetails

BrokerDetails getBrokerDetails(int index)

addBrokerDetails

void addBrokerDetails(BrokerDetails broker)

setBrokerDetails

void setBrokerDetails(List<BrokerDetails> brokers)

getAllBrokerDetails

List<BrokerDetails> getAllBrokerDetails()

getClientName

String getClientName()

setClientName

void setClientName(String clientName)

getUsername

String getUsername()

setUsername

void setUsername(String username)

getPassword

String getPassword()

setPassword

void setPassword(String password)

getVirtualHost

String getVirtualHost()

setVirtualHost

void setVirtualHost(String virtualHost)

getOption

String getOption(String key)

setOption

void setOption(String key,
               String value)

getDefaultQueueExchangeName

AMQShortString getDefaultQueueExchangeName()

getDefaultTopicExchangeName

AMQShortString getDefaultTopicExchangeName()

getTemporaryQueueExchangeName

AMQShortString getTemporaryQueueExchangeName()

getTemporaryTopicExchangeName

AMQShortString getTemporaryTopicExchangeName()


Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.