Skip to content

vishalspawar25/MicroserviceWithRabbitMq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

README

Ocelot-aggregator

This is POC for microservice with api gateway using ocelot

How to run?

  • Run all projects as parallel.

  • from api gateway project, send GET request in browser

  • GET Product- /product

  • GET Payment- /payment

  • To get aggregate response from product and payment, use endpoint /agg.

RabbitMqMassTransitDemo

How to run?

  • Install and run docker image of rabbit mq.

docker run --rm -it --hostname my-rabbit -p 15672:15672 -p 5672:5672 rabbitmq:3-management

  • Open management window from browser as http://localhost:15672/
  • login with username as 'guest' and password as 'guest'
  • run producer.api and consumer api as parallel
  • produce a messge by posting order api as https://localhost:44392/api/order
  • check the logs of consumer service.

About

This is demo project for dotnet core microservice with rabbitmq messaging

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages