<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 for all your help.<br><br>I tried to run the same program using your remote server "dev.rabbitmq.com" and I still get the same errors as described below:<br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><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>