Prereqs
=======
These examples use the [ActiveMQ-CPP](http://activemq.apache.org/cms) C++ library,
but unfortunately they don't work with the latest 3.2.4 release, you have to either
wait for a subsequent release of do a source build of the project trunk. Until then,
you will need to
1. [Checkout the ActiveMQ-CPP trunk source code](http://activemq.apache.org/cms/source.html)
2. [Build and Install](http://activemq.apache.org/cms/building.html)
Building
========
This will vary depending on where you installed your libraries and the compiler
you are using but on my Ubuntu system, I compiled the examples as follows:
gcc Listener.cpp -o listener -I/usr/local/include/activemq-cpp-3.2.4 -I/usr/include/apr-1.0 -lactivemq-cpp -lstdc++
gcc Publisher.cpp -o publisher -I/usr/local/include/activemq-cpp-3.2.4 -I/usr/include/apr-1.0 -lactivemq-cpp -lstdc++
Running the Examples
====================
Note: You may need to update set an environment variable so that the
activemq-cpp shared libraries can be loaded. For example on my Ubuntu
system I had to add the following to my profile:
export LD_LIBRARY_PATH=/usr/local/lib
In one terminal window run:
./listener
In another terminal window run:
./publisher
You can control to which stomp server the examples try to connect to by
setting the following environment variables:
* `ACTIVEMQ_HOST`
* `ACTIVEMQ_PORT`
* `ACTIVEMQ_USER`
* `ACTIVEMQ_PASSWORD`
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
apache-activemq-5.18.5-bin.zip (523个子文件)
jmx.access 982B
activemq 27KB
activemq.bat 4KB
activemq-admin.bat 4KB
InstallService.bat 2KB
InstallService.bat 2KB
activemq.bat 2KB
activemq.bat 2KB
UninstallService.bat 2KB
UninstallService.bat 2KB
SendMessage.class 8KB
ApplicationContextFilter.class 5KB
WebConsoleStarter.class 4KB
BindingBeanNameUrlHandlerMapping.class 4KB
OsgiConfiguration.class 3KB
MoveMessage.class 3KB
CopyMessage.class 3KB
RetryMessage.class 3KB
DeleteMessage.class 2KB
DeleteJob.class 2KB
PurgeDestination.class 2KB
ResumeDestination.class 2KB
PauseDestination.class 2KB
CreateSubscriber.class 2KB
ApplicationContextFilter$2.class 2KB
ApplicationContextFilter$1.class 2KB
DeleteSubscriber.class 1KB
CreateDestination.class 1KB
DeleteDestination.class 1KB
WebConsoleStarter$OsgiUtil.class 653B
wrapper.conf 7KB
wrapper.conf 7KB
login.config 1KB
Listener.cpp 5KB
Listener.cpp 5KB
Publisher.cpp 4KB
Publisher.cpp 4KB
Listener.cs 3KB
Listener.cs 3KB
Publisher.cs 3KB
Publisher.cs 3KB
NMSTracer.cs 2KB
NMSTracer.cs 2KB
NMSTracer.cs 2KB
NMSTracer.cs 2KB
AssemblyInfo.cs 2KB
AssemblyInfo.cs 2KB
AssemblyInfo.cs 2KB
AssemblyInfo.cs 2KB
Publisher.csproj 2KB
Listener.csproj 2KB
Publisher.csproj 2KB
Listener.csproj 2KB
bootstrap.min.css 70KB
bootstrap.min.css 70KB
bootstrap.min.responsive.css 8KB
bootstrap.min.responsive.css 8KB
site.css 7KB
site.css 7KB
site.css 7KB
style.css 6KB
type-settings.css 3KB
type-settings.css 3KB
type-settings.css 3KB
chat.css 2KB
chat.css 2KB
sorttable.css 1KB
sorttable.css 1KB
sorttable.css 1KB
prettify.css 1KB
prettify.css 1KB
prettify.css 1KB
chat.css 1KB
unittest.css 822B
wrapper.dll 80KB
wrapper.dll 75KB
wrapper.exe 216KB
wrapper.exe 200KB
spacer.gif 43B
spacer.gif 43B
spacer.gif 43B
iecanvas.htc 12KB
iecanvas.htc 12KB
amq_test.html 14KB
chat.html 9KB
index.html 8KB
index.html 7KB
index.html 7KB
index.html 7KB
index.html 6KB
index.html 6KB
500.html 6KB
403.html 6KB
404.html 5KB
user-guide.html 5KB
login.html 4KB
portfolio.html 2KB
send.html 2KB
index.html 942B
favicon.ico 4KB
共 523 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
夜灬狼丶
- 粉丝: 54
- 资源: 35
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 实用数据上市公司数字化转型双重差分准自然实验数据(2007-2022年).txt
- Jave Web实验报告二:开源中国静态复刻
- j avascipt 测试程序代码
- content_1732197590653.zip
- 模拟题最终版.docx
- Java Web实验报告一:通讯录
- XP-245废墨清零,懂的都懂 买了个打印机,清零好几次了,这个比较好用,也有简单的操作图,用起来不恶心 杀毒软件没报毒
- 不同温度下的光谱数据,仅截取550nm-700nm
- 不同温度下的光谱数据,仅截取550nm-700nm
- HengCe-18900-2024-2030全球与中国eMMC和UFS市场现状及未来发展趋势-样本.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功