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.

= Remarks =

For more details on input/output schema, refer to Schemas.

Properties

= Remarks =

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.

Add

A new connection resource can be added.

Edit list

Connection resource settings can be edited in > HULFT INTEGRATE > Connections.

 

Queue name

Required

Available

Specify a queue to send messages to.

  • Enter directly or select from the list.

 

Comment

Item name

Required/Optional

Use of variables

Description

Remarks

Comment

Optional

Not available

You can write a short description of this connector.

 

Schemas

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.

= Remarks =

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.

  • The value of "MD5OfMessageAttributes" element included in the response from Amazon SQS.

md5_message_body

The value of the message body encoded with MD5.

  • The value of "MD5OfMessageBody" element included in the response from Amazon SQS.

message_id

The ID assigned to the sent message.

  • The value of "MessageId" element included in the response from Amazon SQS.

status

The result of the sent message.

SUCCESS

Success

INVALID_MESSAGE

Failure (invalid message)

INVALID_PARAMETER

Failure (invalid parameter)

 

Loading schema in Mapper

The schema is loaded automatically.

= Remarks =

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.

  • The default value is null.

error_count

The number of messages failed to send is stored.

  • The default value is null.

message_category

When an error occurs, the category of the message code corresponding to the error is stored.

  • The default value is null.

message_code

When an error occurs, the code of the message code corresponding to the error is stored.

  • The default value is null.

message_level

When an error occurs, the severity of the message code corresponding to the error is stored.

  • The default value is null.

error_type

When an error occurs, the error type is stored.

  • The default value is null.

  • The format of the error type is as follows.

    Example: java.io.FileNotFoundException

error_message

When an error occurs, the error message is stored.

  • The default value is null.

error_trace

When an error occurs, the trace information for the error is stored.

  • The default value is null.

Message codes, exception messages, and limitations

Connector

Message code

Exception message

Limitations

Messages and limitations of the Amazon SQS connector

check

check

check