Delete Message

Operation name

Delete Message

Function overview

Deletes messages in Amazon SQS.

Data model

The data model of this component is XML type.

= 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"?>
<message_results>
  <message_result receipt_handle="" >
  </message_result>
</message_results>

Element name

Attribute name

Description

Remarks

message_results

-

 

 

message_result

-

Appears once for each message that is subject for deletion.

One DeleteMessage request is sent per element.

receipt_handle

Specify the identifier (Receipt Handle) gotten when receiving a message from Amazon SQS.

 

= Remarks =

The output schema of the Receive Message operation can be specified as the input schema of this operation.

Output schema

<?xml version="1.0"?>
<message_results>
  <message_result receipt_handle="" status="" >
  </message_result>
</message_results>

Element name

Attribute name

Description

Remarks

message_results

-

 

 

message_result

-

Appears once for each message that is subject for deletion.

One DeleteMessage request is sent per element.

receipt_handle

The same value as the one specified in receipt_handle element in the input schema is stored.

 

status

The result of message deletion.

SUCCESS

Success

INVALID_RECEIPT_HANDLE

Failure (invalid Receipt Handle)

 

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