18#ifndef _CMS_DESTINATION_H_
19#define _CMS_DESTINATION_H_
Interface for a Java-like properties object.
Definition CMSProperties.h:34
A Destination object encapsulates a provider-specific address.
Definition Destination.h:39
virtual const CMSProperties & getCMSProperties() const =0
Retrieve any properties that might be part of the destination that was specified.
virtual DestinationType getDestinationType() const =0
Retrieve the Destination Type for this Destination.
DestinationType
Definition Destination.h:42
@ TEMPORARY_TOPIC
Definition Destination.h:45
@ TOPIC
Definition Destination.h:43
@ TEMPORARY_QUEUE
Definition Destination.h:46
@ QUEUE
Definition Destination.h:44
virtual bool equals(const cms::Destination &other) const =0
Compares two Destination instances to determine if they represent the same logic Destination.
virtual cms::Destination * clone() const =0
Creates a new instance of this destination type that is a copy of this one, and returns it.
virtual void copy(const cms::Destination &source)=0
Copies the contents of the given Destination object to this one.
#define CMS_API
Definition Config.h:31
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition DestinationResolver.h:23