I too had trouble with the AMQP version incompatibilities between OpenAMQ and RabbitMQ.� I was able to modify the OpenAMQ build to be compatible with the 0-8 AMQP spec.� This article was helpful:<br><br><a href="http://www.lshift.net/blog/2009/03/16/openamqs-jms-client-with-rabbitmq-server" target="_blank">http://www.lshift.net/blog/2009/03/16/openamqs-jms-client-with-rabbitmq-server</a><br>

<br>However, I didn&#39;t like having to use a &quot;tainted&quot; OpenAMQ build.� So, I decided to code to the RabbitMQ Java Client API.� I&#39;m not using JMS yet, but I did understand RabbitMQ at a deeper level.<br><br>

Does anyone know when OpenAMQ and RabbitMQ will speak the same version of AMQP?�� Or am I only dreaming?<br><br>-John<br><br><div class="gmail_quote">On Tue, Mar 9, 2010 at 9:43 AM, Alexis Richardson <span dir="ltr">&lt;<a href="mailto:alexis.richardson@gmail.com" target="_blank">alexis.richardson@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Stefan,<br>
<br>
Your assumption is correct. �The Qpid Java client that speaks AMQP<br>
0-10 will not work with the RabbitMQ broker which speaks 0-8.<br>
<br>
Your options are as follows:<br>
<br>
1. Use the RabbitMQ Java client, which also lets you use things like<br>
this: <a href="http://www.infoq.com/news/2010/03/amqp_support_spring_integration" target="_blank">http://www.infoq.com/news/2010/03/amqp_support_spring_integration</a><br>
<br>
2. Use the Qpid JMS client set for AMQP 0-8.<br>
<br>
3. Use the OpenAMQ JMS client<br>
<br>
4. Use the Qpid JMS client set for AMQP 0-91 and the RabbitMQ 0-91<br>
build (from source).<br>
<font color="#888888"><br>
alexis<br>
</font><div><div></div><div><br>
<br>
On Mon, Mar 8, 2010 at 5:56 PM, SteAp &lt;<a href="mailto:appel@dvs.tu-darmstadt.de" target="_blank">appel@dvs.tu-darmstadt.de</a>&gt; wrote:<br>
&gt;<br>
&gt; Hey,<br>
&gt;<br>
&gt; I&#39;m playing around with RabbitMQ 1.7.2 and the SVN version (0.7) of the Qpid<br>
&gt; Java Client (JMS). I did create the vhost, a user and set permission. Now<br>
&gt; when trying to connect I get the following error:<br>
&gt;<br>
&gt; � � [java] Caused by: org.apache.qpid.AMQConnectionFailureException: Unable<br>
&gt; to Connect<br>
&gt; � � [java] � � at<br>
&gt; org.apache.qpid.client.AMQConnection.&lt;init&gt;(AMQConnection.java:619)<br>
&gt; � � [java] � � at<br>
&gt; org.apache.qpid.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:276)<br>
&gt; � � [java] � � ... 4 more<br>
&gt; � � [java] Caused by: org.apache.qpid.AMQException: cannot connect to<br>
&gt; broker [error code 504: channel error]<br>
&gt; � � [java] � � at<br>
&gt; org.apache.qpid.client.AMQConnectionDelegate_0_10.makeBrokerConnection(AMQConnectionDelegate_0_10.java:209)<br>
&gt; � � [java] � � at<br>
&gt; org.apache.qpid.client.AMQConnection.makeBrokerConnection(AMQConnection.java:760)<br>
&gt; � � [java] � � at<br>
&gt; org.apache.qpid.client.AMQConnection.&lt;init&gt;(AMQConnection.java:546)<br>
&gt; � � [java] � � ... 5 more<br>
&gt;<br>
&gt; Could be due to an AMQP version mismatch; the client works fine with Qpid<br>
&gt; which is at AMQP 0-10 while RabbitMQ is at AMQP 0-9 (?). But I&#39;m not sure<br>
&gt; about this...<br>
&gt; Has anybody seen this error before or an idea how to fix it?<br>
&gt;<br>
&gt; Thanks!<br>
&gt; Cheers,<br>
&gt; Stefan<br>
&gt; --<br>
&gt; View this message in context: <a href="http://old.nabble.com/RabbitMQ-and-Qpid-Java-Client-tp27824111p27824111.html" target="_blank">http://old.nabble.com/RabbitMQ-and-Qpid-Java-Client-tp27824111p27824111.html</a><br>


&gt; Sent from the RabbitMQ mailing list archive at Nabble.com.<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; rabbitmq-discuss mailing list<br>
&gt; <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
&gt; <a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
&gt;<br>
<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</div></div></blockquote></div><br>