activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1338385 - in /activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms: TemporaryQueue.h TemporaryTopic.h
Date Mon, 14 May 2012 20:22:42 GMT
Author: tabish
Date: Mon May 14 20:22:41 2012
New Revision: 1338385

URL: http://svn.apache.org/viewvc?rev=1338385&view=rev
Log:
Temp destination should inherit from Topic and Queue

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TemporaryQueue.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TemporaryTopic.h

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TemporaryQueue.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TemporaryQueue.h?rev=1338385&r1=1338384&r2=1338385&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TemporaryQueue.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TemporaryQueue.h Mon May 14 20:22:41
2012
@@ -19,7 +19,7 @@
 #define _CMS_TEMPORARYQUEUE_H_
 
 #include <cms/Config.h>
-#include <cms/Destination.h>
+#include <cms/Queue.h>
 #include <cms/CMSException.h>
 
 namespace cms{
@@ -36,21 +36,12 @@ namespace cms{
      *
      * @since 1.0
      */
-    class CMS_API TemporaryQueue : public Destination {
+    class CMS_API TemporaryQueue : public Queue {
     public:
 
         virtual ~TemporaryQueue();
 
         /**
-         * Gets the name of this queue.
-         *
-         * @return The queue name.
-         *
-         * @throws CMSException - if an internal error occurs.
-         */
-        virtual std::string getQueueName() const = 0;
-
-        /**
          * Destroy's the Temporary Destination at the Provider.
          *
          * @throws CMSException - if an internal error occurs.

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TemporaryTopic.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TemporaryTopic.h?rev=1338385&r1=1338384&r2=1338385&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TemporaryTopic.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TemporaryTopic.h Mon May 14 20:22:41
2012
@@ -19,7 +19,7 @@
 #define _CMS_TEMPORARYTOPIC_H_
 
 #include <cms/Config.h>
-#include <cms/Destination.h>
+#include <cms/Topic.h>
 #include <cms/CMSException.h>
 
 namespace cms{
@@ -36,21 +36,12 @@ namespace cms{
      *
      * @since 1.0
      */
-    class CMS_API TemporaryTopic : public Destination {
+    class CMS_API TemporaryTopic : public Topic {
     public:
 
         virtual ~TemporaryTopic();
 
         /**
-         * Gets the name of this topic.
-         *
-         * @return The topic name.
-         *
-         * @throws CMSException - if an internal error occurs.
-         */
-        virtual std::string getTopicName() const = 0;
-
-        /**
          * Destroy's the Temporary Destination at the Provider
          *
          * @throws CMSException



Mime
View raw message