Receive Message
Operation name
Receive Message
Function overview
Receives messages from Amazon SQS.
Data model
The data model of this component is XML type.
Properties
For details on use of variables, refer to Variables.
Basic settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Name |
Required |
Not available |
Enter a name that is used on the script canvas. |
|
Required settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Destination |
Required |
Not available |
Select a connection resource.
|
|
Queue name |
Required |
Available |
Specify a queue to receive messages from.
|
|
Option
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Maximum number of messages to receive |
Optional |
Available |
Specify the maximum number of messages to receive from Amazon SQS. |
|
Visibility timeout (seconds) for receiving message |
Optional |
Available |
Specify the time (seconds) in which received messages will be invisible. |
|
Comment
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Comment |
Optional |
Not available |
You can write a short description of this connector. |
|
Input schema
None.
Output schema
<?xml version="1.0"?> <message_results> <message_result md5_message_body="" message_body="" message_id="" receipt_handle="" > <attribute approximate_first_receive_timestamp="" receive_count="" sender_id="" sent_timestamp="" /> </message_result> </message_results>
Element name |
Attribute name |
Description |
Remarks |
---|---|---|---|
message_results |
- |
|
|
message_result |
- |
Appears once for each received message. |
|
md5_message_body |
The value of the message body encoded with MD5. |
|
|
message_body |
The value of the message body. |
|
|
message_id |
The message ID of the received data. |
|
|
receipt_handle |
The identifier (Receipt Handle) used in message deletion request. |
|
|
attribute |
The element that contains message attribute. |
|
|
attribute |
- |
Appears once for each message_result element. |
|
approximate_first_receive_timestamp |
The timestamp of when the message is received for the first time. |
|
|
receive_count |
The number of times of receiving the messages. |
|
|
sender_id |
The message sender ID. |
|
|
sent_timestamp |
The timestamp of when the message is sent. |
|
Loading schema in Mapper
The schema is loaded automatically.
For details, refer to Edit Schema.
Mass data processing
Mass data processing isn't supported.
Parallel Stream Processing
PSP isn't supported.
Available component variables
Component variable name |
Description |
Remarks |
---|---|---|
count |
The number of the received messages is stored. |
|
message_category |
When an error occurs, the category of the message code corresponding to the error is stored. |
|
message_code |
When an error occurs, the code of the message code corresponding to the error is stored. |
|
message_level |
When an error occurs, the severity of the message code corresponding to the error is stored. |
|
error_type |
When an error occurs, the error type is stored. |
|
error_message |
When an error occurs, the error message is stored. |
|
error_trace |
When an error occurs, the trace information for the error is stored. |
|
Message codes, exception messages, and limitations
Connector |
Message code |
Exception message |
Limitations |
---|---|---|---|