Create Synchronous Messaging

Last modified by Danniar Firdausy on 2023/08/11 11:14

In this exercise, we will guide you to create a simple synchronous messaging pattern based on the previous microlearnings.

Should you have any questions, please get in touch with academy@emagiz.com.

1. Prerequisites

  • Completed the previous microlearnings of this intermediate course.

2. Exercise

Below, the exercise for this part of the intermediate course, which centers around the synchronous messaging pattern in eMagiz, is given. By synchronous, we mean the process that processes data and then subsequently informs the caller what the status is.

2.1. Creating Synchronous Messaging

In the previous microlearnings, we have learned what synchronous messaging is, what the key characteristics are, what might be the use case, what its difference is from the asynchronous counterpart, and what methods of connectivity are supported (i.e., REST, SOAP, Database, File). In this exercise, we will practice how to construct synchronous messaging within eMagiz. 

As a target practice, try to construct a synchronous messaging that refers to this architecture below, with inbound and outbound adapters of your preference:
 
intermediate-key-concepts-emagiz-messaging-messaging-synchronous--concept.png

3. Solution

In this short movie, you will find the workout of this exercise. Take a moment to review this one and compare it to your solution. As an example, we use HTTP inbound and outbound gateway here in this exercise. More on how to set up the HTTP inbound and outbound gateway can be found in this course