activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1326225 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp
Date Sat, 14 Apr 2012 22:59:39 GMT
Author: tabish
Date: Sat Apr 14 22:59:38 2012
New Revision: 1326225

URL: http://svn.apache.org/viewvc?rev=1326225&view=rev
Log:
No need to process the ShutdownInfo command here.

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

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp?rev=1326225&r1=1326224&r2=1326225&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp
Sat Apr 14 22:59:38 2012
@@ -821,17 +821,6 @@ void ActiveMQConnection::onCommand(const
         } else if (command->isBrokerInfo()) {
             this->config->brokerInfo = command.dynamicCast<BrokerInfo>();
             this->config->brokerInfoReceived->countDown();
-        } else if (command->isShutdownInfo()) {
-
-            try {
-                if (!this->isClosed()) {
-                    fire(ActiveMQException(__FILE__, __LINE__,
-                             "ActiveMQConnection::onCommand - "
-                             "Broker closed this connection."));
-                }
-            } catch( ... ) { /* do nothing */ }
-
-        } else {
         }
 
         Pointer< Iterator<TransportListener*> > iter(this->config->transportListeners.iterator());



Mime
View raw message