activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r508791 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireConnector.cpp
Date Sat, 17 Feb 2007 18:49:02 GMT
Author: tabish
Date: Sat Feb 17 10:49:02 2007
New Revision: 508791

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

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireConnector.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireConnector.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireConnector.cpp?view=diff&rev=508791&r1=508790&r2=508791
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireConnector.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireConnector.cpp
Sat Feb 17 10:49:02 2007
@@ -375,15 +375,16 @@
         // Cast the destination to an OpenWire destination, so we can
         // get all the goodies.
         const commands::ActiveMQDestination* amqDestination =
-            dynamic_cast<const commands::ActiveMQDestination*>(destination);
+            dynamic_cast<const commands::ActiveMQDestination*>( destination );
+
         if( amqDestination == NULL ) {
             throw ConnectorException( __FILE__, __LINE__,
                 "Destination was either NULL or not created by this OpenWireConnector" );
         }
 
-
-        consumerInfo->setDestination( dynamic_cast<commands::ActiveMQDestination*>(
-            amqDestination->cloneDataStructure()) );
+        consumerInfo->setDestination(
+            dynamic_cast<commands::ActiveMQDestination*>(
+                amqDestination->cloneDataStructure()) );
 
         // Get any options specified in the destination and apply them to the
         // ConsumerInfo object.



Mime
View raw message