18 #ifndef _ACTIVEMQ_TRANSPORT_FAILOVER_URIPOOL_H_ 19 #define _ACTIVEMQ_TRANSPORT_FAILOVER_URIPOOL_H_ 89 return this->priorityURI;
99 this->priorityURI = uri;
152 return this->randomize;
162 this->randomize = value;
190 bool equals(
const URIPool& other)
const;
const decaf::util::List< decaf::net::URI > & getURIList() const
Gets a static view of the URI List contained in this URI Pool.
Definition: URIPool.h:75
#define AMQCPP_API
Definition: Config.h:30
void setPriorityURI(const decaf::net::URI &uri)
Sets the URI that is considered this Pool's priority URI.
Definition: URIPool.h:98
void setRandomize(bool value)
Sets if the URI's that are taken from the pool are chosen Randomly or are taken in the order they are...
Definition: URIPool.h:161
This class represents an instance of a URI as defined by RFC 2396.
Definition: URI.h:36
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: CachedConsumer.h:24
const decaf::net::URI & getPriorityURI() const
Returns the URI that is considered to be this Pools Priority URI, this is always the first URI in the...
Definition: URIPool.h:88
bool isRandomize() const
Is the URI that is given randomly picked from the pool or is each one taken in sequence.
Definition: URIPool.h:151