.NET Core Microservices - Publish Message from Order API

.NET Core Microservices - Publish Message from Order API

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

The video tutorial explains how to set up and configure a RabbitMQ message sender in an Order API by copying and modifying an existing sender from a Shopping Cart API. It covers adding the sender to dependency injection, configuring message handling, and testing the setup by creating a new order and verifying the message in RabbitMQ. Finally, it discusses consuming the message in a Payment microservice.

Read more

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step in setting up RabbitMQ in the Order API?

Modifying the database schema

Copying the RabbitMQ sender folder from the Shopping Cart API

Creating a new RabbitMQ instance

Setting up a new queue in RabbitMQ

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to send messages in the Order API?

processMessage

publishMessage

sendMessage

handleMessage

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the queue name used for sending payment request messages?

payment_process_queue

payment_request_queue

order_payment_queue

order_payment_process_topic

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How is the new queue created in RabbitMQ during testing?

By running a separate script

Automatically when the message is posted

Through a configuration file

Manually through the RabbitMQ console

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What should be done after consuming the message in the payment microservice?

Log the message details

Send an acknowledgment

Delete the message

Publish a new message