RabbitMQ Subscriber Notification in .NET.

We are using MSMQ right now with the WCF activation function, this allows us not to have a queue for reading messages. This is like a push message for an application.

Since we are considering migrating from MSMQ to RabbitMQ, going through what we need from the message queue.

Can't I say anything about RabbitMQ.net customer support for receiving notification of a message from a signed queue?

Is there anything in RabbitMQ with .net that can do push notification for a subscriber like MSMQ?

Or do we need a service that constantly checks the message?

+7
rabbitmq
source share
4 answers

AMQP (and RabbitMQ) has two ways to retrieve messages: basic.get and basic.consume .

Basic.get is used to poll the server for the message. If it exists, it is returned to the client. If not, get-empty is returned (the .NET method returns null).

Basic.consume sets the consumer to a queue. The broker sends messages to the consumer as they arrive. You can either get the DefaultBasicConsumer , which your own user user gives you, or you can use a subscription message template that gives you nextDelivery () lock.

For more information, check out the API and .NET Client Userguide guidelines above . Also, a great place to ask questions related to RabbitMQ is the rabbitmq-discuss mailing list.

+12
source share

I think you're after something like EventingBasicConsumer. See Also This Question / Answer

+5
source share

This is a feature provided by WAS (Windows Activation Service). WAS currently has listener adapters for net.pipe, net.msmq, and net.tcp (and its port sharing services). I think you will need a specific AMQP listener adapter.

This may help http://msdn.microsoft.com/en-us/library/ms789006.aspx

+1
source share

Here 's a great example of Simon Dixon in a publish / subscribe service using RabbitMQ. The publisher (producer) is a .NET application, and the subscriber (consumer) is an Android application.

+1
source share

All Articles