On SOW Message Delete

AMPS provides a module to run an action when a message is deleted from a topic in the SOW.

The amps-action-on-sow-delete-message module monitors a topic for deletions from the SOW. The action runs once for each message that is deleted in the matching topic.

This action requires the following parameters:

ParameterDescription

Topic (required)

The name of the topic to monitor for messages.

This parameter does not support regular expressions. The topic name must be either a SOW topic, a view, a conflated topic or a queue.

There is no default for this parameter.

MessageType (required)

The message type of the topic to monitor for messages.

There is no default for this parameter.

The module adds the following variables to the AMPS context:

VariableDescription

AMPS_TOPIC

The topic of the message that was deleted.

AMPS_DATA

The current data of the message.

AMPS_DATA_LENGTH

The length of the current data of the message, in bytes.

AMPS_CORRELATION_ID

The correlation ID set on the publish command, if one was set.

Last updated

Copyright 2013-2024 60East Technologies, Inc.