<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Thanks a lot guys for all your help. Tony I ran the tool as per your instructions and this is what appears on the screen dump of the Tracer:<br><br>Microsoft Windows XP [Version 5.1.2600]<br>(C) Copyright 1985-2001 Microsoft Corp.<br><br>C:\Documents and Settings\Development>cd C:\downloads\complete-rabbitmq-bundle-1<br>.2.0\librabbitmq-java-1.2.0<br><br>C:\downloads\complete-rabbitmq-bundle-1.2.0\librabbitmq-java-1.2.0>runjava com.r<br>abbitmq.tools.Tracer<br>Usage: Tracer [<listenport> [<connecthost> [<connectport>]]]<br>Invoked as: Tracer 5673 localhost 5672<br>conn#0 ch#0 -> {#method<connection.start-ok>(client properties={product=RabbitMQ<br><span>, information=Licensed
under the MPL. See <a target="_blank" href="http://www.rabbitmq.com/">http://www.rabbitmq.com/</a>, platform=.N</span><br>ET, copyright=Copyright (C) 2007 LShift Ltd., Cohesive Financial Technologies LL<br>C., and Rabbit Technologies Ltd., version=1.2.8025.1832}, mechanism=PLAIN, respo<br>nse= guest guest, locale=en_US),null,""}<br>conn#0 ch#0 <- {#method<connection.start>(version major=8, version minor=0, serv<br>er properties={product=RabbitMQ, information=Licensed under the MPL. See http:/<br>/www.rabbitmq.com/, platform=Erlang/OTP, copyright=Copyright (C) 2007 LShift Ltd<br>., Cohesive Financial Technologies LLC., and Rabbit Technologies Ltd., version=1<br>.2.0}, mechanisms=PLAIN AMQPLAIN, locales=en_US),null,""}<br>conn#0 ch#0 -> {#method<connection.tune-ok>(channel max=0, frame max=131072, hea<br>rtbeat=3),null,""}<br>conn#0 ch#0 -> {#method<connection.open>(virtual host=/, capabilities=,
insist=t<br>rue),null,""}<br>conn#0 ch#0 <- {#method<connection.tune>(channel max=0, frame max=131072, heartb<br>eat=0),null,""}<br>conn#0 ch#1 -> {#method<channel.open>(out of band=),null,""}<br>conn#0 ch#0 <- {#method<connection.open-ok>(known hosts=billcmacxp:5672),null,""<br>}<br>conn#0 ch#1 -> {#method<access.request>(realm=/data, exclusive=false, passive=tr<br>ue, active=true, write=true, read=true),null,""}<br>conn#0 ch#1 <- {#method<channel.open-ok>(),null,""}<br>conn#0 ch#1 -> {#method<exchange.declare>(ticket=101, exchange=testexchange, typ<br>e=direct, passive=false, durable=false, auto delete=false, internal=false, nowai<br>t=false, arguments={}),null,""}<br>conn#0 ch#1 <- {#method<access.request-ok>(ticket=101),null,""}<br>conn#0 ch#1 <- {#method<exchange.declare-ok>(),null,""}<br>conn#0 ch#1 -> {#method<queue.declare>(ticket=101, queue=testqueue,
passive=fals<br>e, durable=false, exclusive=false, auto delete=false, nowait=false, arguments={}<br>),null,""}<br>conn#0 ch#1 <- {#method<queue.declare-ok>(queue=testqueue, message count=3, cons<br>umer count=0),null,""}<br>conn#0 ch#1 -> {#method<queue.bind>(ticket=101, queue=testqueue, exchange=testex<br>change, routing key=routingkey, nowait=false, arguments={}),null,""}<br>conn#0 ch#1 <- {#method<queue.bind-ok>(),null,""}<br>conn#0 ch#1 -> {#method<basic.consume>(ticket=101, queue=testqueue, consumer tag<br>=, no local=false, no ack=false, exclusive=false, nowait=false),null,""}<br>conn#0 ch#1 <- {#method<basic.consume-ok>(consumer tag=amq.ctag13_rabbit@billcma<br>cxp_20080330164613_),null,""}<br>conn#0 ch#1 <- {#method<basic.deliver>(consumer tag=amq.ctag13_rabbit@billcmacxp<br>_20080330164613_, delivery tag=10000, redelivered=false, exchange=testexchange,<br>routing
key=routingkey),#contentHeader<basic>(content type=text/plain, content e<br>ncoding=null, headers=null, delivery mode=2, priority=null, correlation id=null,<br> reply to=null, expiration=null, message id=null, timestamp=null, type=null, use<br>r id=null, app id=null, cluster id=null),"Hello, world! .. hello Vero hello"}<br>conn#0 ch#1 <- {#method<basic.deliver>(consumer tag=amq.ctag13_rabbit@billcmacxp<br>_20080330164613_, delivery tag=10001, redelivered=false, exchange=testexchange,<br>routing key=routingkey),#contentHeader<basic>(content type=text/plain, content e<br>ncoding=null, headers=null, delivery mode=2, priority=null, correlation id=null,<br> reply to=null, expiration=null, message id=null, timestamp=null, type=null, use<br>r id=null, app id=null, cluster id=null),"Hello, world! .. hello Vero hello"}<br>conn#0 ch#1 <- {#method<basic.deliver>(consumer tag=amq.ctag13_rabbit@billcmacxp<br>_20080330164613_,
delivery tag=10002, redelivered=false, exchange=testexchange,<br>routing key=routingkey),#contentHeader<basic>(content type=text/plain, content e<br>ncoding=null, headers=null, delivery mode=2, priority=null, correlation id=null,<br> reply to=null, expiration=null, message id=null, timestamp=null, type=null, use<br>r id=null, app id=null, cluster id=null),"Hello, world! .. hello Vero hello"}<br>conn#0 ch#1 -> {#method<basic.ack>(delivery tag=10000, multiple=false),null,""}<br>conn#0 ch#1 -> {#method<basic.ack>(delivery tag=10001, multiple=false),null,""}<br>conn#0 ch#1 -> {#method<basic.ack>(delivery tag=10002, multiple=false),null,""}<br>java.io.EOFException<br> at java.io.DataInputStream.readUnsignedByte(Unknown Source)<br> at com.rabbitmq.client.impl.Frame.readFrom(Frame.java:103)<br> at
com.rabbitmq.tools.Tracer$DirectionHandler.readFrame(Tracer.java:144)<br><br> at com.rabbitmq.tools.Tracer$DirectionHandler.doFrame(Tracer.java:152)<br> at com.rabbitmq.tools.Tracer$DirectionHandler.run(Tracer.java:170)<br> at java.lang.Thread.run(Unknown Source)<br><br><br><br><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Forwarded Message ----<br>From: Bill Chikirivao <billc@inworksol.com><br>To: rabbitmq-discuss@lists.rabbitmq.com<br>Sent: Sunday, March 30, 2008 1:00:37 AM<br>Subject: Errors using Windows .NET Client Library<br><br>
Please can someone help me with an explanation. I really appreciate any help you can give me.I am getting some errors when I try to run any of the examples that come with the .NET rabbitmq-dotnet-1.2.8025.1832-net-2.0 download. I am running RabbitMQ server 1.2.0 which comes from the bundles in the windows <a rel="nofollow" target="_blank" href="http://www.rabbitmq.com/releases/windows/complete-rabbitmq-bundle-1.2.0.zip">complete-rabbitmq-bundle-1.2.0.zip</a> download. When I run any of the samples I get the following error:<br><br>{RabbitMQ.Client.Exceptions.ProtocolVersionMismatchException: AMQP server protocol negotiation failure: server version 0-8, transport parameters -1:-1<br> at RabbitMQ.Client.Impl.ConnectionBase.Open(Boolean insist)<br> at RabbitMQ.Client.Impl.ConnectionBase..ctor(ConnectionParameters parameters, Boolean insist, IFrameHandler frameHandler)<br> at
RabbitMQ.Client.Framing.Impl.v0_9.Connection..ctor(ConnectionParameters
parameters, Boolean insist, IFrameHandler frameHandler)<br> at RabbitMQ.Client.Framing.Impl.v0_9.ProtocolBase.CreateConnection(ConnectionParameters parameters, Boolean insist, IFrameHandler frameHandler)<br> at RabbitMQ.Client.ConnectionFactory.FollowRedirectChain(Int32 maxRedirects, IDictionary connectionAttempts, IDictionary connectionErrors, AmqpTcpEndpoint[]& mostRecentKnownHosts, AmqpTcpEndpoint endpoint)}<br><br>If I make code changes such that I change the protocol to AMQP_0_8 in my app.config file and then set the protocol as Protocols.FromConfiguration("my-protocol");<br>Then I am able to connect and I don't get the same exception. Is this the expected behavior? and further does the RabbitMQ server only support AMQP 0-8? And if the examples are primarily targeted for RabbitMQ then why have the default to AMQP 0-9 such that you have to explicitly change the protocol to 0-8 when running against
RabbitMQ?<br><br><br></div><br></div></div></body></html>