joozh 发表于 2015-7-31 09:17:40

Apache Qpid (1)

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 失败, 但是其他项目都没问题, 而且测试可以过

3. JAVA client
1) 安装 jdk 6.0 update 17
2) 安装 apache-ant-1.7.1
3) 从控制台进入\QPID\java,并运行
ant

4. C# client
1) 安装 jdk 6.0 update 17
2) 安装 apache-ant-1.7.1
3) 从控制台进入\QPID\dotnet\Qpid.Common\,并运行
ant
4) 修改(我拿到的source code 以下三个文件有非法字符)
\QPID\dotnet\TestClient\TestClient.csproj
\QPID\dotnet\TopicListener\TopicListener.csproj
\QPID\dotnet\TopicPublisher\TopicPublisher.csproj
页: [1]
查看完整版本: Apache Qpid (1)