Sunday, August 23, 2020

Spring Boot - Asynchronus Messaging (AMPQ)

Asynchronus messaging can reduce strain on the system
Spring uses RabbitMQ which is efficient for sending and receiving asynchronous messages.
Property based configuration
follows standard Rabbit consumption

Producer:
    Spring provides Rabbit Template
    Default configuration with spring boot
    Provide the exchange and queue name
    Allows to post messages as Object or String


Consumer:
    Spring provides listener implementations
    Response to messages in the queue and execute some logic

No comments:

Post a Comment

Spring - AutoWiring

Spring automatically resolves the dependencies between the collaborating beans by inspecting the contents of the BeanFactory. This is called...