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,