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.
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. |
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.
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. |