Coder Social home page Coder Social logo

kjayanthkumar / rabbitmq_exchangetypes Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.44 MB

RabbitMQ Demo project for exchange types: Direct Exchange, Topic Exchange, Headers Exchange, Fanout Exchange.

C# 100.00%
rabbitmq exchange fanoutexchange rabbitmq-producer rabbitmq-consumer

rabbitmq_exchangetypes's Introduction

RabbitMQ_ExchangeTypes

RabbitMQ Demo project for exchange types: Direct Exchange, Topic Exchange, Headers Exchange, Fanout Exchange.

Type of Exchanges There are four main types of exchanges.

  1. Direct,
  2. Topic,
  3. Header and
  4. Fanout.

Direct exchange uses a routing key in the header to identify which queue the message should be sent to. The routing key is a header value set by the producer. And consumer uses the routing key to bind to the queue. The exchange does the exact match of routing key values.

The topic exchange also uses a routing key, but it does not do an exact match on the routing key, instead, it does a pattern match based on the pattern.

Header exchange routes messages based on header values and are very similar to Topic exchange.

As the name suggests, Fanout exchange routes messages to all the queues bound to it.

rabbitmq_exchangetypes's People

Contributors

kjayanthkumar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.