Put Queue Message

The PutQueueMessage activity puts a message on the SQS queue.

General

On the General tab, select shared resource to establish a connection to the Amazon server. The following table lists the configurations on the General tab of the PutQueueMessage activity.

Field Module Property? Description
Name No Name to be displayed as a label for the activity in the process.
SQS Client Yes Select SQS Client configuration either from an existing resource or create a new resource, by using the Choose/Create Default Resource icon .

Description

On the Description tab, provide a short description of the PutQueueMessage activity.

Input

On the Input tab, specify input values for the PutQueueMessage activity. The following table lists the input elements on the Input tab of the PutQueueMessage activity.

Input Item Data Type Description
QueueName String Required. The name of the queue on which the message is to be placed.
MessageGroupId String Optional. Required for FIFO queue only. It specifies that a message belongs to a specific message group.
MessageDeduplicationId String Required when ContentBasedDeduplication is set as False. Optional when ContentBasedDeduplication is set as True. It is used for avoiding a duplication of a sent message.
SqsMessage Complex Required. Encodes the body and attributes of the message.
Body String Required. The message body.
MessageAttrs Complex Encodes the message attributes to be sent as part of the message. Each attribute is composed of a Name, Type, and Value.
Name String The name of the attribute.
Type String The type of the attribute. The attribute types supported are:
  • String
  • Number
  • Binary
  • Custom Attribute type: For example, String.EmployeeId. For more information, see AWS documentation.
Value String A string representation of the attribute value.
Note: Provide Base64 encoded string as input when the attribute of the Type field is Binary.

Output

On the Output tab, find the output value of the PutQueueMessage activity. The following table lists the output element on the Output tab of the PutQueueMessage activity.

Output Item Data Type Description
MessageId String Contains the message identifier for the message.

Fault

The Fault tab lists exceptions that are generated by this activity.

Fault Data Type Description
SQSException N/A Any exception generated by the activity after execution. It has the following fields: ErrorCode and ErrorMessage.
ErrorCode String The plug-in error code for the exception. For more information, see Error Codes topic.
ErrorMessage String The plug-in error message for the exception. It contains the error message from the AWS SQS API call that failed.