Creating a Multi Service Spring WebSocket with Active MQ Message Broker

Sdílet
Vložit
  • čas přidán 27. 07. 2024
  • This is an example project of how to use Spring WebSocket integrated with Message Broker Active MQ to deal with the scenario where you scale out your Microservice and keep the WebSocket communication working between different Clients connected to your backend service.
    Github: github.com/educostadev/spring...
    Jump to the subject:
    05:31 Starting codding
    14:00 Adding WebSocket Support to the Project
    25:00 First connecting test using WebSocket
    36:00 WebSocket communication between two clients
    39:00 Configuring to run a second instance to the WebService
    41:00 Explaining the problem of not having a message broker configured
    43:00 Starting configuring the Message Broker
    49:00 Testing the WebSocket communication with two Microservice running and Message Broker configured
    54:15 Detect connection and disconnection
  • Věda a technologie

Komentáře • 9