org.apache.qpid.jms
Interface ConnectionURL
public interface ConnectionURL
Connection URL format
amqp://[user:pass@][clientid]/virtualhost?brokerlist='tcp://host:port?option=\'value\'&option=\'value\';tcp://host:port/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 ','
AMQ_PROTOCOL
static final java.lang.String AMQ_PROTOCOL
- See Also:
- Constant Field Values
OPTIONS_SYNC_PERSISTENCE
static final java.lang.String OPTIONS_SYNC_PERSISTENCE
- See Also:
- Constant Field Values
OPTIONS_MAXPREFETCH
static final java.lang.String OPTIONS_MAXPREFETCH
- See Also:
- Constant Field Values
OPTIONS_SYNC_ACK
static final java.lang.String OPTIONS_SYNC_ACK
- See Also:
- Constant Field Values
OPTIONS_SYNC_PUBLISH
static final java.lang.String OPTIONS_SYNC_PUBLISH
- See Also:
- Constant Field Values
OPTIONS_USE_LEGACY_MAP_MESSAGE_FORMAT
static final java.lang.String OPTIONS_USE_LEGACY_MAP_MESSAGE_FORMAT
- See Also:
- Constant Field Values
OPTIONS_BROKERLIST
static final java.lang.String OPTIONS_BROKERLIST
- See Also:
- Constant Field Values
OPTIONS_FAILOVER
static final java.lang.String OPTIONS_FAILOVER
- See Also:
- Constant Field Values
OPTIONS_FAILOVER_CYCLE
static final java.lang.String OPTIONS_FAILOVER_CYCLE
- See Also:
- Constant Field Values
OPTIONS_REJECT_BEHAVIOUR
static final java.lang.String OPTIONS_REJECT_BEHAVIOUR
- This option is only applicable for 0-8/0-9/0-9-1 protocols connection
It tells the client to delegate the requeue/DLQ decision to the
server .If this option is not specified, the messages won't be moved to
the DLQ (or dropped) when delivery count exceeds the maximum.
- See Also:
- Constant Field Values
OPTIONS_DEFAULT_TOPIC_EXCHANGE
static final java.lang.String OPTIONS_DEFAULT_TOPIC_EXCHANGE
- See Also:
- Constant Field Values
OPTIONS_DEFAULT_QUEUE_EXCHANGE
static final java.lang.String OPTIONS_DEFAULT_QUEUE_EXCHANGE
- See Also:
- Constant Field Values
OPTIONS_TEMPORARY_TOPIC_EXCHANGE
static final java.lang.String OPTIONS_TEMPORARY_TOPIC_EXCHANGE
- See Also:
- Constant Field Values
OPTIONS_TEMPORARY_QUEUE_EXCHANGE
static final java.lang.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
getURL
java.lang.String getURL()
getFailoverMethod
java.lang.String getFailoverMethod()
getFailoverOption
java.lang.String getFailoverOption(java.lang.String key)
getBrokerCount
int getBrokerCount()
getBrokerDetails
BrokerDetails getBrokerDetails(int index)
addBrokerDetails
void addBrokerDetails(BrokerDetails broker)
setBrokerDetails
void setBrokerDetails(java.util.List<BrokerDetails> brokers)
getAllBrokerDetails
java.util.List<BrokerDetails> getAllBrokerDetails()
getClientName
java.lang.String getClientName()
setClientName
void setClientName(java.lang.String clientName)
getUsername
java.lang.String getUsername()
setUsername
void setUsername(java.lang.String username)
getPassword
java.lang.String getPassword()
setPassword
void setPassword(java.lang.String password)
getVirtualHost
java.lang.String getVirtualHost()
setVirtualHost
void setVirtualHost(java.lang.String virtualHost)
getOption
java.lang.String getOption(java.lang.String key)
setOption
void setOption(java.lang.String key,
java.lang.String value)
getDefaultQueueExchangeName
org.apache.qpid.framing.AMQShortString getDefaultQueueExchangeName()
getDefaultTopicExchangeName
org.apache.qpid.framing.AMQShortString getDefaultTopicExchangeName()
getTemporaryQueueExchangeName
org.apache.qpid.framing.AMQShortString getTemporaryQueueExchangeName()
getTemporaryTopicExchangeName
org.apache.qpid.framing.AMQShortString getTemporaryTopicExchangeName()