activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1005248 - /activemq/activemq-cpp/trunk/activemq-c/src/main/c/cms.cpp
Date Wed, 06 Oct 2010 21:02:39 GMT
Author: tabish
Date: Wed Oct  6 21:02:38 2010
New Revision: 1005248

URL: http://svn.apache.org/viewvc?rev=1005248&view=rev
Log:
Add the code to init the ActiveMQ-CPP library and shut it down when finished.

Modified:
    activemq/activemq-cpp/trunk/activemq-c/src/main/c/cms.cpp

Modified: activemq/activemq-cpp/trunk/activemq-c/src/main/c/cms.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-c/src/main/c/cms.cpp?rev=1005248&r1=1005247&r2=1005248&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-c/src/main/c/cms.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-c/src/main/c/cms.cpp Wed Oct  6 21:02:38 2010
@@ -17,12 +17,14 @@
 
 #include <cms.h>
 
+#include <activemq/library/ActiveMQCPP.h>
+
 ////////////////////////////////////////////////////////////////////////////////
 void cms_initialize() {
-
+    activemq::library::ActiveMQCPP::initializeLibrary();
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 void cms_terminate() {
-
+    activemq::library::ActiveMQCPP::shutdownLibrary();
 }



Mime
View raw message