Interact with LavinMQ and explore AMQP concepts.
This will create a user and vhost in the broker.
This workshop guides you through learning AMQP concepts and interacting with LavinMQ.
AMQP URL:
amqps://<name>:<name>@euruko-2025.lmq.cloudamqp.com/<name>
booking_requests messages, extracts the from city, computes route distance between the city and the destination, creates a new message with the route distance, and publishes to the
bookings queue. The distance computation does not need to be realistic (random is fine!).
"vilnius" and "kaunas" are the supported from cities.
Use the button "Book Taxi" (in the "Tools" tab) to generate the input message.
Input (booking_requests queue):
{"from": "vilnius", "to": "stockholm", "group_name": "your_group_name"}
Output (bookings queue):
{"from": "vilnius", "to": "stockholm", "group_name": "your_group_name", "distance": "5000"}
<city>_<taxi>) develop a microservice creating a fanout exchange, and bind it to all taxi
queues. Consume messages from the notifications queue; if status is "news", publish the
message to the fanout exchange.
Verify in the management UI that the taxi queues received the expected messages.
Input (notifications queue):
{"city": "vilnius", "message": "free fika...", "status": "news", "group_name": "your_group_name"}
Output (fanout exchange news):
{"info": "free fika..."}
notifications; if status is "alert", publish to the topic exchange
using the city as the routing key.
Verify in the management UI that the correct queue received the message.
Input (notifications queue):
{"city": "vilnius", "message": "Find more customers...", "status": "alert", "group_name": "your_group_name"}
Output (topic exchange alerts, routing key <city>):
{"info": "Find more customers..."}