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.17.3
共524个文件
jar:111个
png:79个
xml:46个
需积分: 10 3 下载量 190 浏览量
2022-12-27
20:31:08
上传
评论
收藏 47.19MB ZIP 举报
温馨提示
apache-activemq,运行需要依赖的jdk版本为11+
资源推荐
资源详情
资源评论
收起资源包目录
apache-activemq-5.17.3 (524个子文件)
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
共 524 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
王佑辉
- 粉丝: 611
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Flume进阶-自定义拦截器jar包
- Dubins曲线算法讲解和在运动规划中的使用.pdf
- 上市公司-股票性质数据-工具变量(民企、国企、央企)2003-2022年.dta
- 上市公司-股票性质数据-工具变量(民企、国企、央企)2003-2022年.xlsx
- Reeds+Shepp曲线算法讲解和实现.pdf
- 毕业设计基于SpringBoot+MyBatisPlus+MySQL+Vue的外卖配送信息系统源代码+数据库
- 词向量(Word Embeddings)是自然语言处理(NLP)领域的一种重要技术.txt
- Surfer,线性函数
- MyBatis 的动态 SQL 是其核心特性之一.txt
- 时代的sdddsddsddsd
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功