MQTT Storage Read Transfer Object
Before configuring the transfer object, ensure that the MQTT plug-in is configured correctly and that the “Enable MQTT Data Storage” option is activated. Only then can you use this transfer object. To enable a connection, proceed [as described](../../../ faq/connection_projecting/connection_projecting_project.md).
After double-clicking on the transfer object, set the following properties:
| Broker connection | |
| Topic | Enter the topic or topic pattern with wildcards. |
| Dynamic topic | Activate if different topics are required. The topic can be defined variably via input. |
You can then set additional filter options as needed to further optimize the output. To do this, use the optional include and exclude filters. OR applies to each list. A match in Include is included, a match in Exclude is excluded.
Filter field
| Topic | The filter value is applied to the topics stored in the storage |
| Payload | The filter value is applied to the payloads stored in the storage |
| Direction | The filter value is applied to the directions stored in the storage |
| QoS | The filter value is applied to the service qualities stored in the storage |
| Timestamp | The filter value is applied to the timestamps stored in the storage |
Direction
| Published | The last payload stored in the storage on a topic was sent from this instance. |
| Received | The last payload stored in the storage on a topic was sent from another instance. |
Filter type
| Contains | The filter value appears anywhere in the specified filter field. |
| Matches | The filter value must be found exactly in the specified filter field. |
| Regex | The filter value can be filtered using a regular expression. |
Filter value
| Value | The value with which the configured filter is to be applied. |
Timestamp filter value
| en_US | [dd.MM.YYYY HH:mm:ss:fff] |
Finally, you can configure how the transfer object should behave if no data is found.
| Error | The transfer object reports an error and further execution of the connection is aborted. |
| Cancel | The transfer object reports that no data could be read and execution of the connection is continued. |
| Ignore | The transfer object reports successful execution even if no data could be read. |
| Confirm your entries with “OK.” |