Send Message
Operation name
Send Message
Function overview
Sends messages for Amazon SQS.
Data model
The data model of this component is table model type for input data and XML type for output data.
For more details on input/output schema, refer to Schemas.
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. |
|
Input data |
Required |
Not available |
Select a component 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 send messages to.
|
|
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
<?xml version="1.0"?> <table> <row> <column>message_body</column> </row> <row> : </row> </table>
Column name |
Description |
Remarks |
---|---|---|
message_body |
Input a message to be sent. |
One SendMessage request is sent per element. |
The maximum length of a message depends on the settings of the queue.
Output schema
<?xml version="1.0"?> <message_results> <message_result md5_message_attributes="" md5_message_body="" message_id="" status="" > </message_result> </message_results>
Element name |
Attribute name |
Description |
Remarks |
---|---|---|---|
message_results |
- |
|
|
message_result |
- |
Appears once for each sent message. |
|
md5_message_attributes |
The value of the message attribute encoded with MD5. |
|
|
md5_message_body |
The value of the message body encoded with MD5. |
|
|
message_id |
The ID assigned to the sent message. |
|
|
status |
The result of the sent message.
|
|
Loading schema in Mapper
The schema is loaded automatically.
For details, refer to Edit Schema.
Mass data processing
Mass data processing isn't supported.
Transaction
Transaction isn't supported.
Parallel Stream Processing
PSP isn't supported.
Available component variables
Component variable name |
Description |
Remarks |
---|---|---|
count |
The number of messages sent successfully is stored. |
|
error_count |
The number of messages failed to send 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 |
---|---|---|---|