1
00:00:00,360 --> 00:00:07,230
In this video, we are going to send and receive message to the crew on Amazon space using the management

2
00:00:07,230 --> 00:00:07,860
console.

3
00:00:08,700 --> 00:00:09,680
Let's get started.

4
00:00:09,690 --> 00:00:12,300
Please open the measurement console.

5
00:00:12,330 --> 00:00:18,690
Go to Amazon space and open the order queue and click the send and receive message button.

6
00:00:19,140 --> 00:00:23,220
So now we are going to send message and receive message from the queue.

7
00:00:23,310 --> 00:00:28,810
And for that purpose, we are going to add a message in the send message box.

8
00:00:28,830 --> 00:00:31,920
We can come here and we should provide a message.

9
00:00:32,280 --> 00:00:36,720
I would like to enter three messages into queue and see what's happened one by one.

10
00:00:36,720 --> 00:00:42,540
For example, I'm sending the message as a Jason format and you can see that I'm sending the message

11
00:00:42,540 --> 00:00:44,730
one in the message keyword.

12
00:00:44,940 --> 00:00:45,600
Okay.

13
00:00:45,630 --> 00:00:47,760
If you scroll down, you can see the receive message.

14
00:00:47,760 --> 00:00:51,330
Also in here, we will send several message in this box.

15
00:00:51,330 --> 00:00:57,660
And after that, we will get these receive these message with pulling from these the second box.

16
00:00:57,960 --> 00:00:59,880
Now I am sending the message one.

17
00:01:00,300 --> 00:01:04,380
Please copy paste from the message one and click the send message.

18
00:01:05,040 --> 00:01:08,160
So our message is sent successfully.

19
00:01:08,310 --> 00:01:12,570
Now I'm going to send message to and click the send message again.

20
00:01:13,290 --> 00:01:19,170
Message to also send successfully and change the message three and send again.

21
00:01:20,130 --> 00:01:27,660
So that means we have sent three messages into the Amazon HQ and we don't set any delivery delay.

22
00:01:27,660 --> 00:01:34,110
So that means this will be immediately received from the Q when it is requesting from polling message.

23
00:01:34,140 --> 00:01:42,090
So if you scroll down, see that our message count is scene three and we can see the available message

24
00:01:42,090 --> 00:01:43,900
that we can receive the control.

25
00:01:43,920 --> 00:01:45,860
The available message are three.

26
00:01:45,870 --> 00:01:48,570
So that means we can successfully add three message.

27
00:01:48,750 --> 00:01:52,200
So our queue has three message now and waiting for the receive.

28
00:01:52,200 --> 00:01:57,660
Right, so we can receive all message with clicking the pull for message.

29
00:01:57,690 --> 00:02:03,540
You can see that we are in the receiving message box and there is a button which name is Paul for message

30
00:02:03,540 --> 00:02:07,650
and we can get the all available message with clicking this button.

31
00:02:07,650 --> 00:02:09,930
So let's click and see what's happened.

32
00:02:11,840 --> 00:02:19,490
See that we have successfully pulled all three methods in the one poll operation and polling progress

33
00:02:19,490 --> 00:02:20,700
is still ongoing.

34
00:02:20,720 --> 00:02:27,800
I can stop polling because I know that we have three message available message on the queue and we already

35
00:02:27,800 --> 00:02:29,690
get all three messages in the queue.

36
00:02:29,720 --> 00:02:32,180
So let's see message one by one.

37
00:02:32,180 --> 00:02:38,300
For example, let me open the first one if you can see that this is the message three and if you see

38
00:02:38,300 --> 00:02:40,190
the second one, this is the message two.

39
00:02:40,190 --> 00:02:42,260
And the first one is the message one.

40
00:02:42,500 --> 00:02:46,340
So as you can see that there is no any order delivery.

41
00:02:46,340 --> 00:02:52,760
So that means these message can be randomly and we can see that the receive count is one.

42
00:02:52,760 --> 00:02:58,760
So that means every message comes one time, but it could be one more time because there is no guarantee

43
00:02:58,760 --> 00:03:01,370
for the standard queue.

44
00:03:01,400 --> 00:03:07,640
We can get the same message two times, but this time I can see the every message comes from the one

45
00:03:07,640 --> 00:03:10,610
time and we can see the random order, these messages.

46
00:03:10,610 --> 00:03:17,480
So now you can think that once we pull message from the case, we should process these messages into

47
00:03:17,480 --> 00:03:20,090
our application receiver application.

48
00:03:20,090 --> 00:03:25,940
You can see the consumer application and think that we perform our logic and now it is time to delete

49
00:03:25,940 --> 00:03:29,480
message in the queue for the consumer service.

50
00:03:29,480 --> 00:03:36,980
Paul The message from the case and process the business logic and now it is time to remove the message

51
00:03:36,980 --> 00:03:37,820
from the queue.

52
00:03:37,820 --> 00:03:41,630
I'm going to select the message and click the delete button.

53
00:03:41,630 --> 00:03:49,940
See that we can delete the message three And now available message comes to two and I am going to select

54
00:03:49,940 --> 00:03:52,220
all and delete all message.

55
00:03:52,250 --> 00:03:57,620
I'm showing all these details because we will perform all these actions with using the SDK libraries.

56
00:03:57,620 --> 00:04:01,130
That's why I'm showing all this detail from the management console.

57
00:04:01,130 --> 00:04:03,950
So select all message and click the delete.

58
00:04:03,950 --> 00:04:08,420
So we have successfully delete all message from the case.

59
00:04:08,420 --> 00:04:14,540
And if you refresh this page, you can see that we have no available message in the case.

60
00:04:14,660 --> 00:04:16,070
Okay, very good.

61
00:04:16,070 --> 00:04:20,330
Now let's create again this message with sending message again.

62
00:04:20,330 --> 00:04:22,940
I'm going to send all these three messages again.

63
00:04:22,940 --> 00:04:24,770
And I would like to show one more thing.

64
00:04:24,800 --> 00:04:31,910
Click to send message message to and click the send message and the message three and click the send

65
00:04:31,910 --> 00:04:32,510
message.

66
00:04:33,110 --> 00:04:33,950
Okay, very good.

67
00:04:33,950 --> 00:04:37,460
Now we have also again available message will be three.

68
00:04:37,460 --> 00:04:42,950
Let me come to open again this send this email and come again this page.

69
00:04:42,950 --> 00:04:46,130
You can see that available message are three.

70
00:04:46,160 --> 00:04:50,840
Now I'm going to pull again, but this time I would like to edit the post settings.

71
00:04:50,840 --> 00:04:56,960
You can see in here, we can edit the post settings, click this button and see that we can set the

72
00:04:56,960 --> 00:04:59,120
population and maximum message count.

73
00:04:59,120 --> 00:05:07,010
So that means when we perform one pull operation, it is duration is the third second and it is getting

74
00:05:07,010 --> 00:05:09,020
message count maximum ten.

75
00:05:09,020 --> 00:05:13,970
So if I set the one so that means this will get the maximum one message.

76
00:05:13,970 --> 00:05:21,170
So click this save button and if you pull message now we can get the message one by one, click the

77
00:05:21,170 --> 00:05:22,130
pull message.

78
00:05:22,610 --> 00:05:27,110
So see that one message comes receive in our application.

79
00:05:27,110 --> 00:05:31,580
You can think that we are in the consumer application, that we can receive the message one by one.

80
00:05:31,610 --> 00:05:37,130
If you expand this message, you can see the message one, okay, I'm going to pull message again,

81
00:05:37,310 --> 00:05:39,830
make sure that you receive count is one.

82
00:05:39,980 --> 00:05:46,610
Again, I'm selecting the pull for message and this time if I open this message, you can see the message

83
00:05:46,610 --> 00:05:49,010
one comes again one more time.

84
00:05:49,010 --> 00:05:56,570
So that means receive count comes to so that means the message are not receive in order like PIPO.

85
00:05:56,660 --> 00:06:03,770
And also if we pull for message again and again, we can increase the receive count to three, four

86
00:06:03,770 --> 00:06:04,610
and so on.

87
00:06:04,610 --> 00:06:11,930
So if we configure that little queue for this queue and set the receive count equal three, this message

88
00:06:11,930 --> 00:06:13,510
will be transferred to the editor.

89
00:06:13,520 --> 00:06:16,520
Q one reach the recipient equal to three.

90
00:06:16,520 --> 00:06:24,020
So in order to avoid receive receiving unprocessed message again and again, we can set the data Q into

91
00:06:24,030 --> 00:06:31,460
the Q So as you can see that we have create the Amazon case and understand how we can send and receive

92
00:06:31,460 --> 00:06:34,220
message with the pull for message from the case.

93
00:06:34,220 --> 00:06:38,930
We can do all these send, receive and pull message operation with the programmatically.
