activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r476001 - in /incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands: ActiveMQDestination.cpp ActiveMQDestination.h BrokerError.h
Date Fri, 17 Nov 2006 00:36:10 GMT
Author: tabish
Date: Thu Nov 16 16:36:09 2006
New Revision: 476001

URL: http://svn.apache.org/viewvc?view=rev&rev=476001
Log:
Updates for planned Openwire Support

Modified:
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQDestination.cpp
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQDestination.h
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/BrokerError.h

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQDestination.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQDestination.cpp?view=diff&rev=476001&r1=476000&r2=476001
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQDestination.cpp
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQDestination.cpp
Thu Nov 16 16:36:09 2006
@@ -41,6 +41,7 @@
 ActiveMQDestination::ActiveMQDestination()
 {
     this->physicalName = "";
+    this->orderedTarget = DEFAULT_ORDERED_TARGET;
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQDestination.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQDestination.h?view=diff&rev=476001&r1=476000&r2=476001
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQDestination.h
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/ActiveMQDestination.h
Thu Nov 16 16:36:09 2006
@@ -77,7 +77,7 @@
         bool exclusive;
         bool ordered;
         bool advisory;
-        std::string orderedTarget = DEFAULT_ORDERED_TARGET;
+        std::string orderedTarget;
         
         std::string physicalName;
         std::map<std::string, std::string> options;
@@ -168,7 +168,7 @@
          * @param exclusive The exclusive to set.
          */
         void setExclusive( bool exclusive ) {
-            this.exclusive = exclusive;
+            this->exclusive = exclusive;
         }
         
         /**
@@ -182,7 +182,7 @@
          * @param ordered The ordered to set.
          */
         void setOrdered( bool ordered ) {
-            this.ordered = ordered;
+            this->ordered = ordered;
         }
 
         /**
@@ -196,7 +196,7 @@
          * @param orderedTarget The orderedTarget to set.
          */
         void setOrderedTarget( const std::string& orderedTarget) {
-            this.orderedTarget = orderedTarget;
+            this->orderedTarget = orderedTarget;
         }
 
     };

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/BrokerError.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/BrokerError.h?view=diff&rev=476001&r1=476000&r2=476001
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/BrokerError.h
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/BrokerError.h
Thu Nov 16 16:36:09 2006
@@ -61,10 +61,10 @@
          */
         virtual void copyCommand( const DataStructure* src ) {
             
-            BrokerError* srcErr = dynamic_cast<BrokerError*>( src );
+            BrokerError* srcErr = dynamic_cast<const BrokerError*>( src );
             
             if( srcErr == NULL || src == NULL ) {
-                throw exceptions::NullPointerException(
+                throw activemq::exceptions::NullPointerException(
                     __FILE__, __LINE__,
                     "BrokerError::copyCommand - src is NULL or invalid" );
             } 



Mime
View raw message