[rabbitmq-discuss] RabbitMQ .NET C# Client

Matthias Radestock matthias at lshift.net
Mon Mar 24 18:02:15 GMT 2008


Michel Polder wrote:
> I'm trying to connect to a OpenAMQ 1.2c4 server with the logtail example
> from the RabbitMQ.NET client. The "using (IModel ch = conn.CreateModel())"
> line fails with the following exception:
> [...]
>    at RabbitMQ.Client.Impl.ModelBase.AccessRequest(String realm)
>    at RabbitMQ.Client.Examples.LogTail.Main(String[] args)

IIRC OpenAMQ does not support the AMQP access class and, furthermore, 
simply closes the socket when it receives an access.request rather than 
reporting an error.

To get around that, suppress the access.request methods with the 
RabbitMQ.Client.ConnectionParameters.AccessRequestConfig property.



More information about the rabbitmq-discuss mailing list