Skip to content

alanbarros/masstransit_debug_vscode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Masstransit_RabbitMQ_Docker-Compose_DebugVsCode

Messtransit + RabbitMQ + Docker Compose + Debug on VsCode

Run:

docker-compose -f "src\docker-compose.yml" up -d --build

This command will start three containers: rabbitmq server, a publisher (web api http:https://localhost:5100) and a listener (console app).

After that, execute this command in a terminal:

docker logs -f listener

This will abe you to see the messages that console app is listening

Now, run this command on a terminal with curl available, or use an rest client what you prefer.

curl --request POST --url http:https://localhost:5100/Messages --header 'content-type: application/json' --data '"Hello world!!"'

About

Messtransit + RabbitMQ + Docker Compose + Debug on VsCode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages