Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 1.64 KB

README.md

File metadata and controls

51 lines (31 loc) · 1.64 KB

The Particular Platform for MassTransit

The sample consists of 4 console applications hosting MassTransit message producers and consumers that implement a simplified order processing logic from an e-commerce system.

System Overview

Launching the Showcase

To run the code sample you have 2 options in terms of transports:

RabbitMQ

Note

The RabbitMQ Broker is started as part of the docker compose process

Run docker command below from the src folder in a CLI

docker compose -f docker-compose-base.yml -f compose-rabbitmq.yml --env-file rabbit.env up -d

Azure ServiceBus

Configure the access to your Azure Service Bus namespace by editing the variables in src/asb.env

CONNECTIONSTRING="Endpoint=sb://[NAMESPACE].servicebus.windows.net/;SharedAccessKeyName=[KEYNAME];SharedAccessKey=[KEY]"

Run docker command below from the src folder in a CLI

docker compose -f docker-compose-base.yml -f compose-azure.yml --env-file asb.env up -d

Warning

When using Visual Studio, ensure you have the "Enable Multi-Project Launch profiles" setting on. Allow Visual Studio 2022 "multi-launch" so you can easily select the profile you want to run.

It can be activated by accessing the Tools menu -> Manage preview features- Enable Multi-Project Launch profiles.

After opening the solutions (from Visual Studio or Rider), choose one of the run profiles that matches the transport configured previously:

  • RabbitMQ
  • Azure Service Bus

Run the solution to start the demo.

Navigate to http://localhost:9090/ to see the UI