Using Azure Service Bus on a LAN

I work with Azure Service Bus themes and subscriptions. It is used to send control messages through the application. Message listeners (subscribers) work in a working role, and they collect messages and process the request. Each message on the bus can be selected only once, even if several listeners are working simultaneously.

No problem using the service bus; however, we encounter some problems when debugging / testing the application locally. We have 2 service buses, one for the cloud and one for local debugging. Now, if several people are debugging the application at the same time, the message is selected only by one of the systems (randomly). This is the intended behavior, but it causes discomfort when debugging.

Is there a way to use a local emulator for the service bus? I did some research, but I could not find a reliable solution for this. Is there a way to debug the application separately?

+6
source share
3 answers

, Azure SB. , Service Bus Windows Server, / .. , Azure SDK, . MSDN SB WS.

+3

Azure Service Bus - . ( , , , ). . MSDN Azure, . , , , ..

ASB Windows Server - 1.1, Azure SB 3+. . - .

+6

We are developing a product using MassTransit . We run it on top of the RabbitMQ transport locally on the development computers and on the CI server, but in cloud environments we run it on top of the Azure Service Bus.

Here is a Gist with some snippets showing how easy it is to switch between transports at startup.

0
source

All Articles