SQS SendSQSMessage Activity

The SendSQSMessage activity sends the messages to Amazon SQS queue with a structured metadata, with messages by using message attributes.

Settings

The Settings tab has the following fields:

Field Required Default Value Description
AWS Connection Yes None AWS connection to create the session and perform various operations.
Queue URL Yes None The URL of the Amazon SQS queue where the message is sent. If your privileges do not allow you to list the queues, you can specify the queue using the app property.
Delivery Delay No None The length of the time, in seconds, for which the message is delayed. It is applicable to standard queue only.

Input Settings

The Input Settings tab has the following field:

Field Required Description
Message Attributes No The metadata of the message to be sent. Each message can have up to 10 message attributes. Each message attribute has the following fields:

  • Name - The name of the message attribute
  • Type - The data type of the message attribute
    Note: Binary data type is not supported.
  • Value - The value of the message attribute

Input

The Input element on the Input tab displays the input schema of the activity as a tree structure. The input values vary depending on the action selected on the Settings tab. You can provide values for the message attributes added in the Input Settings tab. The Input tab has the following fields:

Field Description
MessageBody The message to be sent must include only XML, JSON, or unformatted text formats.
MessageDeduplicationId The token used for deduplication of the sent message. It is applicable to FIFO queue only. For more information, see Amazon SQS documentation.
MessageGroupId The tag used to specify the group of the sent message. It is applicable to FIFO queue only. For more information, see Amazon SQS documentation.

Output

The output is read-only. The information in the schema varies based on the fields selected on the Settings tab. The properties that are displayed in the schema correspond to the output of this activity and can be used as input by subsequent activities in the flow. The output of the activity is static and contains only the generated message ID for standard queue. It contains the message ID and sequence number for FIFO queue.