http://qpid.apache.org/index.html
我的运行环境 windows 7 x64 1. 安装并运行c++ broker Windows installer
1) 下载 C++ broker windows installer
http://www.apache.org/dist/qpid/0.5-windows/qpidc-0.5.msi
2) 创建目录: C:\TEMP\
3) 控制台运行:
"C:\Program Files (x86)\Apache\qpidc-0.5\bin\qpidbroker.exe" --auth no --data-dir C:\TEMP\QPIDD.DATA
option --auth no 无认证
编译client 源代码并测试
check out source code
https://svn.apache.org/repos/asf/qpid/trunk/qpid
2. C++ client sample
full build 需要的包太多, 所以只build了C++的sample 项目
1) 安装boost 1.40
http://www.boostpro.com/download/boost_1_40_setup.exe
安装选择
a. VS 9 support
b. 所有的运行库
c. 选择package: thread, program option, 和 date time
2) 设置VS的C++工作目录
include: C:\Program Files (x86)\Apache\qpidc-0.5\include
lib: C:\Program Files (x86)\Apache\qpidc-0.5\bin
3) 从VS中打开\QPID\cpp\examples\examples.sln
4) 在项目选项: C++->general->additional include directory 中删除
5) build
*gmf-agent build 失败, 但是其他项目都没问题, 而且测试可以过