Use RabbitMQ in distributed ASP.NET MVC web application

335 views
Skip to first unread message

Ashish Shukla

unread,
Nov 10, 2016, 8:57:27 AM11/10/16
to rabbitmq-users
Hi All,

I am developing an application which is deployed on differennt IIS servers and user requests are redirected to nodes via load balancer. Now I have requiremnt to send message to RabbitMQ exchange and all application servers are the subscribers to that exchange. All server nodes supposed to perform some task on receiving the message from the exchange.

So here my question is do I need to install the RabbitMQ on each application server with Erlang and establish clustering or I can use a centralized RabbitMQ Queue at one server and all the server nodes nodes can connect and receive the message from that queue.

Warm Regards
Ashish Shukla

Karl Nilsson

unread,
Nov 10, 2016, 11:14:38 AM11/10/16
to rabbitm...@googlegroups.com
Hi,

You should use the RabbitMQ .NET client [1] to establish a connection to a broker and use that to publish messages from your front end application (I'm assuming you use .NET given you mentioned IIS but many other clients are available [2]). 

Where the broker is hosted is up to you as long as it is reachable.


Cheers
Karl

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Karl Nilsson

Staff Software Engineer, Pivotal/RabbitMQ
Reply all
Reply to author
Forward
0 new messages