Relative Content

Tag Archive for rabbitmqmasstransit

MassTransit service bus not working when deployed to server where two environments both dev and demo are setup in same server

Basically, we are using MassTransit with RabbitMQ in out .Net core application for publishing and consuming messages. We maintain 2 environments – dev and demo in the same server.
For this, we have created 2 virtual hosts dev and demo in RabbitMQ and configured the dev vhost to be used in dev environment and demo vhost to be used in demo environment..
When we run the dev application, the service bus gets started and messages are correctly published and consumed. But in demo, the service bus is not started and the messages are not published or consumed. Need help to figure out a solution for this issue.