Procedure
-
Double-click the cAWSConnection component to display its
Basic settings view in the Component tab.
- In the Access Key and Secret Key fields, enter the authentication credentials of your AWS account. For how to get your Access Key and Access Secret, see Access keys (access key ID and secret access key).
-
Double-click the cTimer labelled
repeat=2 to open its Basic
settings view in the Component tab.
-
In the Repeat field, enter
2
to generate the message exchange twice. Keep the default settings of the other options. -
Configure the cTimer labelled
repeat=3 in the same way to generate the message
exchange three times.
- Double-click the cSetBody component labelled body=hello to open its Basic settings view in the Component tab.
-
Select CONSTANT from the Language list and type in hello in the
Expression field as the message
body.
-
Configure the cSetBody labelled
body=world in the same way to set the message body
as world.
-
Double-click the cAWSSQS labelled
Producer_1 to open its Basic
settings view in the Component tab.
-
In the Connection list, select the
cAWSConnection component that you have
just configured to connect to Amazon's SQS service.
In the Queue Name field, type in the name of the SQS queue to send the messages.
- Configure the cAWSSQS labelled Producer_2 with the same properties to send the messages to the same queue.
- Press Ctrl+S to save your Route.