Put Queue Message

The PutQueueMessage activity puts a message on the SQS queue.

General

In the General tab, you can select shared resource to establish a connection to the Amazon server. The following table lists the configurations in 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

In the Description tab, you can provide a short description of the PutQueueMessage activity.

Input

In the Input tab, you can specify input values for the PutQueueMessage activity. The following table lists the input elements in 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 messages.
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.
Value String A string representation of the attribute value.
Note: If you enter a value in any one of the fields Name, Type, or Value, then you need to enter values for the remaining two fields, as these fields become required fields.

Output

In the Output tab, you can find the output value of the PutQueueMessage activity. The following table lists the output element in 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 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, refer to 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.