[openamq-dev] RabbitMQ .NET client, OpenAMQ server

Aamir_Mohammad at manulife.com Aamir_Mohammad at manulife.com
Sat Feb 23 03:54:36 CET 2008


Hello,

I am trying to use the RabbitMQ .NET client to connect to an OpenAMQ 
server and publish messages using BasicPublish. I want to publish 
real-time price data. The problem is that (as far as I know), OpenAMQ does 
not implement Access Request Tickets while RabbitMQ does not implement the 
Content class. 

In the WireAPI ChatRoom "sender" example, the Content class to publish 
messages and unlinks the content at the end of each loop iteration. 
RabbitMQ does not have a Content class so I can't publish messages this 
way. With RabbitMQ I can get an Access Request ticket in each loop 
iteration, but OpenAMQ does not implement Access Request tickets. If I 
just use 0 for the ticket when publishing messages then the program crash 
after publishing two or three messages. It seems that it is crashing 
because I am trying to messages repeatedly using the same routing-key 
without getting an Access Request Ticket (since the server doesn't 
implement Access Request tickets) and without unlinking the Content class 
(since the client doesn't implement the Content class). 

So how can I publish messages to OpenAMQ using RabbitMQ? I need to do this 
because some of the AMQP clients will be written in .NET.

Thanks,
Aamir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openamq.org/pipermail/openamq-dev/attachments/20080222/7d3f1ba3/attachment.htm 


More information about the openamq-dev mailing list