You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Joe Porto <Jo...@agilex.com> on 2011/11/09 23:42:44 UTC
qpid c++ broker, rabbitmq client AMQP version mismatch
I am running the .12 release of a c++ qpid broker. I am trying to access it via a rabbitmq java client. My client gets an error:
AMQP protocol version mismatch; we are version 0-9-1, server sent signature 1,1,0,10
It seems like rabbit is using 0-9-1, but the server is using 10? Is this a way to dial the server back to 0-9-1 ? Or is there a specific build that handles this?
The client code looks like:
ConnectionFactory factory = new ConnectionFactory();
factory.setHost("10.1.21.21");
factory.setVirtualHost("10.1.21.21");
Connection conn = factory.newConnection();
Channel channel = conn.createChannel();
…
---------------------
Any help would be greatly appreciated!
Joe
Re: qpid c++ broker, rabbitmq client AMQP version mismatch
Posted by Robbie Gemmell <ro...@gmail.com>.
Hi Joe,
The C++ broker has only supported AMQP 0-10 for a few years, and the
RabbitMQ Java client seems to support AMQP 0-9-1 only, so they wont
work together. The client is able to connect to the Java broker
because it supports 0-8, 0-9, 0-9-1, and 0-10.
Robbie
On 9 November 2011 22:42, Joe Porto <Jo...@agilex.com> wrote:
> I am running the .12 release of a c++ qpid broker. I am trying to access it via a rabbitmq java client. My client gets an error:
>
>
> AMQP protocol version mismatch; we are version 0-9-1, server sent signature 1,1,0,10
>
>
> It seems like rabbit is using 0-9-1, but the server is using 10? Is this a way to dial the server back to 0-9-1 ? Or is there a specific build that handles this?
>
>
> The client code looks like:
>
>
> ConnectionFactory factory = new ConnectionFactory();
>
> factory.setHost("10.1.21.21");
>
> factory.setVirtualHost("10.1.21.21");
>
> Connection conn = factory.newConnection();
>
> Channel channel = conn.createChannel();
>
>
> …
>
> ---------------------
>
>
> Any help would be greatly appreciated!
>
> Joe
>
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org