qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John McLaughlin <j...@exara.net>
Subject QPID C++ Broker and QPID Proton C++ Example interoperability problem
Date Wed, 24 Aug 2016 00:54:10 GMT
QPID/AMPQ noob here, but I could use some help.

I git-cloned the latest repos for qpid-cpp and qpid-proton.  For each, I
successfully built and "sudo installed" with CMake/Make using default
configs.

As a test, I wanted to run qpidd and an example client & server from each
repo (cpp & proton).

The qpid-cpp broker (qpidd) seemed to work fine with the qpid-cpp examples
server & client.

However, when I tried to use the qpid-proton example server I had the
following results:

1. Running qpidd with a default qpidd.conf and then trying to execute
qpid-proton/bld/examples/cpp/server I get the following:
$ ./server
server connected to amqp://0.0.0.0:5672/examples
*amqp:connection:framing-error: AMQP header mismatch: Pre standard AMQP
connection ['AMQP\x01\x01\x00\x0a']*

so I seemed to recall reading somewhere that AMPQ 1.0 was not enabled by
default in qpidd (which seems odd to me), so I added "protocols=amqp1.0" to
my qpidd.conf and restarted the daemon.

2. Running qpidd with the modified qpidd.conf and then trying to execute
qpid-proton/bld/examples/cpp/server I get the following:

$ ./server
server connected to amqp://0.0.0.0:5672/examples
*amqp:connection:framing-error: AMQP header mismatch: Pre standard AMQP
connection ['AMQP\x01\x01\x00\x00']*

Seeing that the hex values changed I believe my change had an effect, but I
am left with a mystery as to why my qpid-proton based server cannot connect
to my qpid-cpp broker (qpidd).

*Can anyone shed some light or point me in a meaningful direction?*

Tech details:
$ qpidd --version -> qpidd (qpid-cpp) version 0.35
$ which qpidd -> /usr/local/sbin/qpidd
$ gcc --version -> gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
$ g++ --version -> g++ (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
$ lsb_release -a -> Ubuntu 14.04.4 LTS
$ uname -a -> Linux john1 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15
03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Last qpid-proton GIT commit : 7f87f1bbc674e2021da7cbd97d23a1400c5dadd4
Last qpid-cpp GIT commit : 61361614703a459483aa5f2135637daf15e1864a




--
View this message in context: http://qpid.2158936.n2.nabble.com/QPID-C-Broker-and-QPID-Proton-C-Example-interoperability-problem-tp7649519.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Mime
View raw message