QPID 0.30 在 Ubuntu 14.04 持久性不起作用
QPID 0.30 On Ubuntu 14.04 persistence not working
我已经在 Ubuntu 14.04 上安装了 qpid-0.30。我使用下载部分提供的 cpp 文件从源代码编译了相同的内容。
一切正常。我也可以连接到 QPID,发送消息和接收消息。但是当我重新启动进程时没有持久性
我找不到如何启用它。该代码使用持久队列和持久消息。我可以使用 qpid-stat
确认
感谢任何帮助或指点
此致,
塔伦
我确实找到了解决办法。问题是并不是所有的依赖关系都得到解决,这导致构建文件忽略了商店插件。安装所有依赖项后。一切正常,我也为相同的
创建了一个要点
http://gist.github.com/tarunlalwani/fdb774fa11de316615e3
#!/bin/sh
export DEBIAN_FRONTEND=noninteractive
QPID_VERSION=0.32
cd $HOME
echo "Creating new folder for qpid - $HOME/qpid"
mkdir qpid
cd qpid
echo "Downloading QPID Packages"
wget -nc http://www.us.apache.org/dist/qpid/$QPID_VERSION/qpid-cpp-$QPID_VERSION.tar.gz &
wget -nc http://www.us.apache.org/dist/qpid/$QPID_VERSION/qpid-tools-$QPID_VERSION.tar.gz &
wget -nc http://www.us.apache.org/dist/qpid/$QPID_VERSION/qpid-python-$QPID_VERSION.tar.gz &
wait
echo "Extracting all packages"
tar xf qpid-cpp-$QPID_VERSION.tar.gz &
tar xf qpid-tools-$QPID_VERSION.tar.gz &
tar xf qpid-python-$QPID_VERSION.tar.gz &
wait
echo "Packages Extracted"
echo "Installing dependcies"
sudo apt-get -qy install python-pip python
sudo apt-get -qy install pkg-config libaio-dev libdb++-dev libboost-all-dev ruby swig libnss3-dev gcc cmake doxygen libsasl2-dev uuid-dev valgrind e2fsprogs
echo "Building source files..."
cd qpid-cpp-$QPID_VERSION
mkdir bld
cd bld
cmake ..
cores=`nproc`
make -j$cores
make install
cd $HOME/qpid/qpid-tools-$QPID_VERSION
python setup.py install &
cd $HOME/qpid/qpid-python-$QPID_VERSION
python setup.py install &
wait
我已经在 Ubuntu 14.04 上安装了 qpid-0.30。我使用下载部分提供的 cpp 文件从源代码编译了相同的内容。
一切正常。我也可以连接到 QPID,发送消息和接收消息。但是当我重新启动进程时没有持久性
我找不到如何启用它。该代码使用持久队列和持久消息。我可以使用 qpid-stat
确认感谢任何帮助或指点
此致, 塔伦
我确实找到了解决办法。问题是并不是所有的依赖关系都得到解决,这导致构建文件忽略了商店插件。安装所有依赖项后。一切正常,我也为相同的
创建了一个要点http://gist.github.com/tarunlalwani/fdb774fa11de316615e3
#!/bin/sh
export DEBIAN_FRONTEND=noninteractive
QPID_VERSION=0.32
cd $HOME
echo "Creating new folder for qpid - $HOME/qpid"
mkdir qpid
cd qpid
echo "Downloading QPID Packages"
wget -nc http://www.us.apache.org/dist/qpid/$QPID_VERSION/qpid-cpp-$QPID_VERSION.tar.gz &
wget -nc http://www.us.apache.org/dist/qpid/$QPID_VERSION/qpid-tools-$QPID_VERSION.tar.gz &
wget -nc http://www.us.apache.org/dist/qpid/$QPID_VERSION/qpid-python-$QPID_VERSION.tar.gz &
wait
echo "Extracting all packages"
tar xf qpid-cpp-$QPID_VERSION.tar.gz &
tar xf qpid-tools-$QPID_VERSION.tar.gz &
tar xf qpid-python-$QPID_VERSION.tar.gz &
wait
echo "Packages Extracted"
echo "Installing dependcies"
sudo apt-get -qy install python-pip python
sudo apt-get -qy install pkg-config libaio-dev libdb++-dev libboost-all-dev ruby swig libnss3-dev gcc cmake doxygen libsasl2-dev uuid-dev valgrind e2fsprogs
echo "Building source files..."
cd qpid-cpp-$QPID_VERSION
mkdir bld
cd bld
cmake ..
cores=`nproc`
make -j$cores
make install
cd $HOME/qpid/qpid-tools-$QPID_VERSION
python setup.py install &
cd $HOME/qpid/qpid-python-$QPID_VERSION
python setup.py install &
wait