Felhasználói eszközök

Eszközök a webhelyen


tanszek:oktatas:iss_t:rabbitmq

Ez a dokumentum egy előző változata!


Quality measurement system example

We send states to a message queue named 'qualityQueue', which stores simple status messages of a quality assurance system. Create a multi-component application that communicates with the message queue through two clients in the following way:

  1. The first client connects to the sensor placed on the measuring machine and randomly sends GOOD, EXCELLENT, and WRONG messages to the 'qualityQueue' message queue every second.
  2. Create a component that reads and collects the 'GOOD', 'EXCELLENT', and 'WRONG' messages from the qualityQueue queue. After receiving 10 identical messages, it sends a message to the 'qualityStatistics' queue indicating that it has processed 10 messages of a certain quality.
  3. Create a second client that reads the statistics from the 'qualityStatistics' queue and prints to the console, for example, '10 'WRONG' messages has been processed'.
tanszek/oktatas/iss_t/rabbitmq.1683534219.txt.gz · Utolsó módosítás: 2023/05/08 08:23 szerkesztette: knehez