activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r723870 - in /activemq/activemq-cpp/trunk/src/main/activemq/core: ActiveMQConnection.cpp ActiveMQConnection.h
Date Fri, 05 Dec 2008 21:10:56 GMT
Author: tabish
Date: Fri Dec  5 13:10:55 2008
New Revision: 723870

URL: http://svn.apache.org/viewvc?rev=723870&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQCPP-169

Added destination remove method to the ActiveMQConnection class that calls into the connectors
to attempt a remove.  Additional methods can be added in the Connection class as needed for
other Broker specific management actions for the time being.

Made the method param const.

Modified:
    activemq/activemq-cpp/trunk/src/main/activemq/core/ActiveMQConnection.cpp
    activemq/activemq-cpp/trunk/src/main/activemq/core/ActiveMQConnection.h

Modified: activemq/activemq-cpp/trunk/src/main/activemq/core/ActiveMQConnection.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/core/ActiveMQConnection.cpp?rev=723870&r1=723869&r2=723870&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/core/ActiveMQConnection.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/core/ActiveMQConnection.cpp Fri Dec  5 13:10:55
2008
@@ -293,7 +293,7 @@
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void ActiveMQConnection::destroyDestination( cms::Destination* destination )
+void ActiveMQConnection::destroyDestination( const cms::Destination* destination )
     throw( decaf::lang::exceptions::NullPointerException,
            decaf::lang::exceptions::IllegalStateException,
            decaf::lang::exceptions::UnsupportedOperationException,

Modified: activemq/activemq-cpp/trunk/src/main/activemq/core/ActiveMQConnection.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/core/ActiveMQConnection.h?rev=723870&r1=723869&r2=723870&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/core/ActiveMQConnection.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/core/ActiveMQConnection.h Fri Dec  5 13:10:55
2008
@@ -155,7 +155,7 @@
          * @throws ActiveMQException
          *         If any other error occurs during the attempt to destroy the destination.
          */
-        virtual void destroyDestination( cms::Destination* destination )
+        virtual void destroyDestination( const cms::Destination* destination )
             throw( decaf::lang::exceptions::NullPointerException,
                    decaf::lang::exceptions::IllegalStateException,
                    decaf::lang::exceptions::UnsupportedOperationException,



Mime
View raw message