activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r570557 - in /activemq/activemq-cpp/trunk/src/main: activemq/core/ActiveMQConnection.cpp activemq/core/ActiveMQConnection.h activemq/core/ActiveMQConnectionMetaData.h cms/Connection.h cms/ConnectionMetaData.h
Date Tue, 28 Aug 2007 20:05:23 GMT
Author: tabish
Date: Tue Aug 28 13:05:21 2007
New Revision: 570557

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

Removed:
    activemq/activemq-cpp/trunk/src/main/activemq/core/ActiveMQConnectionMetaData.h
    activemq/activemq-cpp/trunk/src/main/cms/ConnectionMetaData.h
Modified:
    activemq/activemq-cpp/trunk/src/main/activemq/core/ActiveMQConnection.cpp
    activemq/activemq-cpp/trunk/src/main/activemq/core/ActiveMQConnection.h
    activemq/activemq-cpp/trunk/src/main/cms/Connection.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=570557&r1=570556&r2=570557&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/core/ActiveMQConnection.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/core/ActiveMQConnection.cpp Tue Aug 28 13:05:21
2007
@@ -76,20 +76,6 @@
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-const cms::ConnectionMetaData& ActiveMQConnection::getMetaData() const
-    throw ( cms::CMSException ) {
-
-    if( closed ) {
-        throw ActiveMQException(
-            __FILE__, __LINE__,
-            "ActiveMQConnection::getMetaData - "
-            "Can't get data on closed Connection" );
-    }
-
-    return connectionMetaData;
-}
-
-////////////////////////////////////////////////////////////////////////////////
 cms::Session* ActiveMQConnection::createSession() throw ( cms::CMSException )
 {
     try {

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=570557&r1=570556&r2=570557&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/core/ActiveMQConnection.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/core/ActiveMQConnection.h Tue Aug 28 13:05:21
2007
@@ -27,7 +27,6 @@
 #include <activemq/util/Properties.h>
 #include <activemq/util/Map.h>
 #include <activemq/util/Set.h>
-#include <activemq/core/ActiveMQConnectionMetaData.h>
 
 #include <string>
 
@@ -85,11 +84,6 @@
          */
         util::Set<ActiveMQSession*> activeSessions;
 
-        /**
-         * The Meta Data for this Connection
-         */
-        ActiveMQConnectionMetaData connectionMetaData;
-
     public:
 
         /**
@@ -121,13 +115,6 @@
         virtual void removeDispatcher( const connector::ConsumerInfo* consumer );
 
     public:   // Connection Interface Methods
-
-        /**
-         * @eturns the a ConnectionMata object for this connection
-         * @throws CMSException
-         */
-        virtual const cms::ConnectionMetaData& getMetaData() const
-            throw ( cms::CMSException );
 
         /**
          * Creates a new Session to work for this Connection

Modified: activemq/activemq-cpp/trunk/src/main/cms/Connection.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/cms/Connection.h?rev=570557&r1=570556&r2=570557&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/cms/Connection.h (original)
+++ activemq/activemq-cpp/trunk/src/main/cms/Connection.h Tue Aug 28 13:05:21 2007
@@ -23,7 +23,6 @@
 #include <cms/Stoppable.h>
 #include <cms/Closeable.h>
 #include <cms/Session.h>
-#include <cms/ConnectionMetaData.h>
 
 namespace cms
 {
@@ -45,13 +44,6 @@
          * @throws CMSException
          */
         virtual void close() throw( CMSException ) = 0;
-
-        /**
-         * @eturns the a ConnectionMata object for this connection
-         * @throws CMSException on failure to get ConnectionMetaData
-         */
-        virtual const ConnectionMetaData& getMetaData() const
-            throw ( cms::CMSException ) = 0;
 
         /**
          * Creates an AUTO_ACKNOWLEDGE Session.



Mime
View raw message