我尝试从http://activemq.apache.org/cms/cms-api-overview.html运行一个示例,因此将代码粘贴main.cpp
到我qt creator
添加apr
的activemq
库中并成功编译,但之后没有任何反应。我的意思是控制台打印:
============================================
Starting the example
--------------------------------------------
没有别的了。我通过简单地打印 couts 注意到
std::cout <<"START" <<std::endl;
connection->start();
std::cout <<"AFTER START" <<std::endl;
控制台没有打印第二个 cout 所以它一定是一个问题connection->start();
你能帮我吗?