18 #ifndef _ACTIVEMQ_COMMANDS_ACTIVEMQDESTINATION_H_ 19 #define _ACTIVEMQ_COMMANDS_ACTIVEMQDESTINATION_H_ 74 const static unsigned char ID_ACTIVEMQDESTINATION = 0;
101 virtual unsigned char getDataStructureType()
const;
103 virtual std::string toString()
const;
106 return this->hashCode;
116 return this->physicalName;
123 virtual void setPhysicalName(
const std::string& physicalName);
136 this->advisory = advisory;
150 this->exclusive = exclusive;
164 this->ordered = ordered;
171 return orderedTarget;
178 this->orderedTarget = orderedTarget;
193 std::string getDestinationTypeAsString()
const;
230 return physicalName.find_first_of(COMPOSITE_SEPARATOR) != std::string::npos;
244 return physicalName.find_first_of(DestinationFilter::ANY_CHILD) != std::string::npos||
245 physicalName.find_first_of(DestinationFilter::ANY_DESCENDENT) != std::string::npos;
293 return TEMP_PREFIX + clientId + TEMP_POSTFIX;
int hashCode
Definition: ActiveMQDestination.h:70
static const std::string TOPIC_QUALIFIED_PREFIX
Definition: ActiveMQDestination.h:57
bool advisory
Definition: ActiveMQDestination.h:64
virtual void setAdvisory(bool advisory)
Definition: ActiveMQDestination.h:135
virtual std::string getOrderedTarget() const
Definition: ActiveMQDestination.h:170
static const std::string ANY_CHILD
Definition: ActiveMQDestination.h:43
A Destination object encapsulates a provider-specific address.
Definition: Destination.h:39
#define AMQCPP_API
Definition: Config.h:30
virtual const cms::Destination * getCMSDestination() const
Definition: ActiveMQDestination.h:259
Definition: BaseDataStructure.h:33
virtual bool isOrdered() const
Definition: ActiveMQDestination.h:156
#define NULL
Definition: Config.h:33
std::string orderedTarget
Definition: ActiveMQDestination.h:66
static const std::string TEMP_PREFIX
Definition: ActiveMQDestination.h:52
virtual bool isTopic() const
Returns true if a Topic Destination.
Definition: ActiveMQDestination.h:208
virtual bool isExclusive() const
Definition: ActiveMQDestination.h:142
virtual std::string getPhysicalName() const
Fetch this destination's physical name.
Definition: ActiveMQDestination.h:115
Definition: DataStructure.h:27
static const std::string TEMP_QUEUE_QUALIFED_PREFIX
Definition: ActiveMQDestination.h:58
static const std::string TEMP_POSTFIX
Definition: ActiveMQDestination.h:53
virtual bool isTemporary() const
Returns true if a temporary Destination.
Definition: ActiveMQDestination.h:199
decaf::util::ArrayList< Pointer< ActiveMQDestination > > compositeDestinations
Definition: ActiveMQDestination.h:65
Definition: Destination.h:43
Definition: Destination.h:46
util::ActiveMQProperties options
Definition: ActiveMQDestination.h:69
virtual bool isComposite() const
Returns true if this destination represents a collection of destinations; allowing a set of destinati...
Definition: ActiveMQDestination.h:229
virtual bool isWildcard() const
Definition: ActiveMQDestination.h:243
const activemq::util::ActiveMQProperties & getOptions() const
Definition: ActiveMQDestination.h:251
virtual void setOrderedTarget(const std::string &orderedTarget)
Definition: ActiveMQDestination.h:177
Definition: ActiveMQDestination.h:42
static const std::string TEMP_TOPIC_QUALIFED_PREFIX
Definition: ActiveMQDestination.h:59
static const std::string TEMP_DESTINATION_NAME_PREFIX
Definition: ActiveMQDestination.h:76
DestinationType
Definition: Destination.h:42
Definition: ArrayList.h:39
bool ordered
Definition: ActiveMQDestination.h:63
virtual void setOrdered(bool ordered)
Definition: ActiveMQDestination.h:163
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: CachedConsumer.h:24
static std::string createTemporaryName(const std::string &clientId)
Create a temporary name from the clientId.
Definition: ActiveMQDestination.h:292
static const std::string ANY_DESCENDENT
Definition: ActiveMQDestination.h:44
Pointer< ActiveMQDestination > createDestination(const std::string &name) const
Create a new Destination that's of the same type as this one but with the given destination name...
Definition: ActiveMQDestination.h:272
virtual bool isQueue() const
Returns true if a Queue Destination.
Definition: ActiveMQDestination.h:217
std::string physicalName
Definition: ActiveMQDestination.h:68
static const std::string QUEUE_QUALIFIED_PREFIX
Definition: ActiveMQDestination.h:56
static const std::string DEFAULT_ORDERED_TARGET
The default target for ordered destinations.
Definition: ActiveMQDestination.h:50
bool operator==(const ArrayPointer< T > &left, const U *right)
Definition: ArrayPointer.h:379
This implementation of Comparator is designed to allows objects in a Collection to be sorted or teste...
Definition: Pointer.h:366
Decaf's implementation of a Smart Pointer that is a template on a Type and is Thread Safe if the defa...
Definition: Pointer.h:53
static const std::string COMPOSITE_SEPARATOR
Definition: ActiveMQDestination.h:54
Definition: Destination.h:45
Implementation of the CMSProperties interface that delegates to a decaf::util::Properties object...
Definition: ActiveMQProperties.h:37
decaf::lang::PointerComparator< ActiveMQDestination > COMPARATOR
Definition: ActiveMQDestination.h:78
int getHashCode() const
Definition: ActiveMQDestination.h:105
This interface imposes a total ordering on the objects of each class that implements it...
Definition: Comparable.h:33
Definition: ActiveMQDestination.h:38
virtual bool isAdvisory() const
Definition: ActiveMQDestination.h:128
bool exclusive
Definition: ActiveMQDestination.h:62
virtual void setExclusive(bool exclusive)
Definition: ActiveMQDestination.h:149