Skip to content

emre-akakce/RabbitMQPOC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RabbitMQ POC with .NET Core

This is a proof of concept (POC) project demonstrating how to use RabbitMQ with Docker on Windows and C# with .NET Core. The project includes a simple producer that sends messages to a RabbitMQ queue and a consumer that receives and processes those messages.

Project Structure

  • Program.cs # Main entry point of the application
  • Producer.cs # Contains the code for the RabbitMQ producer
  • Consumer.cs # Contains the code for the RabbitMQ consumer
  • RabbitMQPOC.csproj # .NET Core project file
  • README.md # Project documentation

Prerequisites

Getting Started

1. Set Up RabbitMQ with Docker

  1. Pull the RabbitMQ Docker image:
    docker pull rabbitmq:3-management
    
  2. Run the docker container
    docker run -d --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3-management
    
  3. Run the project (two instances: one for producer and one for consumer)
    dotnet run
    

About

Basic example of RabbitMQ using C#

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages