activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1386484 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp
Date Mon, 17 Sep 2012 06:13:58 GMT
Author: tabish
Date: Mon Sep 17 06:13:57 2012
New Revision: 1386484

URL: http://svn.apache.org/viewvc?rev=1386484&view=rev
Log:
fix for: https://issues.apache.org/jira/browse/AMQCPP-426

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=1386484&r1=1386483&r2=1386484&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
Mon Sep 17 06:13:57 2012
@@ -510,7 +510,11 @@ void ActiveMQConnection::setClientID( co
 
     this->config->connectionInfo->setClientId(clientID);
     this->config->userSpecifiedClientID = true;
-    ensureConnectionInfoSent();
+
+    try {
+    	ensureConnectionInfoSent();
+    }
+    AMQ_CATCH_ALL_THROW_CMSEXCEPTION()
 }
 
 ////////////////////////////////////////////////////////////////////////////////



Mime
View raw message