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币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于opencv-dnn和一些超过330 FPS的npu
- 房屋租赁管理系统 java项目ssm框架开发,全套视频教程
- MATLAB代码:计及电转气协同的含碳捕集与垃圾焚烧电厂优化调度 关键词:碳捕集 电厂 需求响应 优化调度 电转气协同调度 参考文档:《计及电转气协同的含碳捕集与垃圾焚烧电厂优化调度》完全复现
- 关键词:微网 优化调度 深度强化学习 A3C 需求响应 编程语言:python平台 主题:基于改进A3C算法的微网优化调度与需求响应管理 内容简介: 代码主要做的是基于深度强化学习的微网
- web网页,三次平时作业+大作业+Acwing笔记
- cruise软件模型,混动仿真模型,IMMD架构混联混动仿真模型,Cruise混动仿真模型,混联混动汽车动力性经济性仿真 关于模型 1.本模型是基于IMMD架构搭载的混联混动仿真模型,关于IMMD架
- C#上位机开发源码 上位机项目源代码 采用基于RS485通讯总线的ModbusRtu协议,支持用户权限管理、sqlite数据库、实时曲线、历史曲线、历史报表、导出Excel、主界面布局可调带记忆等功能
- 基于plc的污水处理,组态王动画仿真,带PLC源代码,组态王源代码,图纸,IO地址分配
- Rhino(犀牛)插件ladybug-tools-1-8-0
- 三相10Kw光伏并网逆变器 包含全套理图 PCB 源代码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功