You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2012/04/15 00:59:39 UTC
svn commit: r1326225 -
/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp
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());