Delete Message

Operation Name

Delete Message

Function Overview

Executes message deletion for Azure Queue Storage.

Data Model

XML type.
For input/output schema, refer to "Schema".

Properties

For information about using variables, refer to "variables".
Basic settings
Item name Required/Optional Use of variables Description Remarks
Name Required Not available Enter the name to show 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 global resource.
  • [Add]:
    Adds a new global resource.
  • [Edit list]:
    Enables to edit the global resource settings in the "Edit resource list".
 
Queue name Required Available Specify the queue which is subject to delete.
  • Directly enter, or select from the list.
 
Property action
Item name Description Remarks
Get queue names Gets the queue names from Azure Queue Storage.
  • If [Destination] is not specified, it is disabled.
Comment
Item name Required/Optional Use of variables Description Remarks
Comment Optional Not available You can write a short description of this adapter.
The description will be reflected in the specifications.
 

Schema

Input schema

<?xml version="1.0"?>
<queue>
  <message id="" pop_receipt="" >
  </message>
</queue>
Element name Attribute name Description Remarks
queue -    
message - Appears for each messeage which is subject to delete. 1 DeleteMessage request is sent per element.
id Specify an identifier (Message Id) which is gotten when received the message from Azure Queue Storage.  
pop_receipt Specify a POPReceipt value which is gotten when received the message from Azure Queue Storage.  
Output schema of Receive Message operation can be specified as input schema of this operation.

Output schema

<?xml version="1.0"?>
<results client_request_id="" >
  <result service_request_id="" status_code="" status_message="" request_date="" target_location="" >
  </result>
</results>
Element name Attribute name Description Remarks
results -    
client_request_id The ID published by client side of Azure Queue Storage.  
result - Appears for each message which is subject to delete. 1 DeleteMessage request is sent per element.
service_request_id The deletion request ID published by server side of Azure Queue Storage. This is a value of "x-ms-request-id" header included in response from Azure Queue Storage.
status_code The result of message deletion.
  • 204: Succeeded
This is a value of status code included in response from Azure Queue Storage.
status_message The result of message deletion.
  • No Content: Succeeded
This is a message of status code included in response from Azure Queue Storage.
request_date The date of deletion request. This is a value of "Date" header included in response from Azure Queue Storage.
target_location The target storage.
  • PRIMARY: Primary storage
  • SECONDARY: Secondary storage
 

Loading Schema on Mapper

Schema is loaded automatically.
For more details, refer to "Edit schema".

Transaction

Transaction is not supported.

PSP Usage

PSP is not supported.

Available Component Variables

Component variable name Description Remarks
count Stores the number of messages deleted successfully.
  • Default value is null.
error_count Stores the number of messages which failed to delete.
  • Default value is null.
message_category Stores the category of message code corresponding to the occurred error.
  • Default value is null.
message_code Stores the code of message code corresponding to the occurred error.
  • Default value is null.
message_level Stores the severity of message code corresponding to the occurred error.
  • Default value is null./li>
error_type Stores the error type of occurred error.
  • Default value is null.
  • Error is represented in the format depicted below.
    Example:java.io.FileNotFoundException
  • The value may vary depending on the DataSpider Servista version.
error_message Stores the error message of occurred error.
  • Default value is null.
  • The value may vary depending on the DataSpider Servista version.
error_trace Stores the trace information of occurred error.
  • Default value is null.
  • The value may vary depending on the DataSpider Servista version or the client application used.

Specification Limits

Main Exceptions

Exception name Cause Solution
ResourceNotFoundException
Resource definition could not be found.Name: []
[Destination] is not specified. Specify [Destination].
ResourceNotFoundException
Resource definition could not be found. Name: [<Global Resource Name>]
Resource definition selected in [Destination] is not found. Check the global resources specified in[Destination].
java.security.InvalidKeyException
Storage Key is not a valid base64 encoded string.
There is something wrong with [Access key] of the global resource specified in [Destination]. Check the [Access key] setting of the global resource specified in [Destination].
com.microsoft.azure.storage.StorageException
Empty key
There is something wrong with [Access key] of the global resource specified in [Destination]. Check the [Access key] setting of the global resource specified in [Destination].
com.microsoft.azure.storage.StorageException
Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
There is something wrong with [Account] or [Access key] of the global resource specified in [Destination]. Check the settings of [Account] and [Access key] of the global resource specified in [Destination].
com.microsoft.azure.storage.StorageException
The server encountered an unknown failure:
Failed to request message deletion. Check the settings of [Queue name] or [Account] and [Access key] of the global resouce specified in [Destination].

Notes