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:
Parameter | Description |
---|---|
| 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. |
| 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:
Variable | Description |
---|---|
| The topic of the message that was deleted. |
| The current data of the message. |
| The length of the current data of the message, in bytes. |
| The correlation ID set on the publish command, if one was set. |
Last updated