in working with the samples I am using the following test consumer snippet ...<br><br><snip><br>ServiceHost dispatcherHost = new ServiceHost(typeof(DispatcherService), new Uri("soap.amqp:///"));<br>dispatcherHost.AddServiceEndpoint(typeof(IDispatcherService), new RabbitMQBinding(new Uri("amqp://localhost:5672/"), Protocols.AMQP_0_8), "soap.amqp://localhost/dispatcher");<br>
</snip><br><br>when the RabbitMQBinding is hit in the RabbitMQ.Service model I get the following nasty gram...<br><br>RabbitMQ.Client.Exceptions.OperationInterruptedException was unhandled by user code<br> Message="The AMQP operation was interrupted: AMQP close-reason, initiated by Peer, code=404, text=\"NOT_FOUND - no exchange 'localhost' in vhost '/'\", classId=50, methodId=20, cause="<br>
Source="RabbitMQ.Client"<br> StackTrace:<br> at RabbitMQ.Client.Impl.SimpleBlockingRpcContinuation.GetReply() in C:\RabbitMQ.Client\RabbitMQ\Client\Impl\SimpleBlockingRpcContinuation.cs:line 22<br> at RabbitMQ.Client.Impl.ModelBase.ModelRpc(MethodBase method, ContentHeaderBase header, Byte[] body) in C:\\RabbitMQ.Client\RabbitMQ\Client\Impl\ModelBase.cs:line 498<br>
at RabbitMQ.Client.Framing.Impl.v0_8.Model.QueueBind(String queue, String exchange, String routingKey, Boolean nowait, IDictionary arguments) in C:\\RabbitMQ.Client\RabbitMQ\Client\Framing\Impl\v0_8\Model.cs:line 374<br>
at RabbitMQ.ServiceModel.RabbitMQInputChannel.Open(TimeSpan timeout) in C:\\RabbitMQ.ServiceModel\RabbitMQ\ServiceModel\RabbitMQInputChannel.cs:line 52<br> at System.ServiceModel.Channels.InternalDuplexChannelListener.ServerCompositeDuplexChannel.OnOpen(TimeSpan timeout)<br>
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)<br> at System.ServiceModel.Channels.CommunicationObject.Open()<br> at System.ServiceModel.Channels.ReliableChannelListener`3.HandleAcceptComplete(TInnerChannel channel)<br>
InnerException: <br><br>any suggestions from those more familiar with the Client/Service Model libraries?<br><br>Am I missing something obvious?<br><br>thanks in advance.<br><br><br>