Contents
Cirrus Link Resources
Cirrus Link Website
Contact Us (Sales/Support)
Forum
Cirrus Link Modules Docs for Ignition 7.9.x
Inductive Resources
Ignition User Manual
Knowledge Base Articles
Inductive University
Forum
MQTT Engine supports 'String Replacement' for both MQTT Topics and Payloads. In many cases with Custom Namespaces this can be required if one does not have full control of the topics and payloads that are sent. This can also be true even with certain Sparkplug based payloads. While MQTT and Sparkplug both support characters such as . & % =, Ignition does not support these as valid characters in a tag path or tag name. As a result, sometimes it may be necessary to tell MQTT Engine to replace certain characters or strings of characters with something else so the tag path and tag names can be properly created in Ignition.
Consider the following Custom Namespace.
Now consider an incoming MQTT message with the characteristics:
This will fail to be handled by the Custom Namespace and an error will be logged that looks like:
INFO | jvm 1 | 2022/01/06 11:33:29 | E [c.c.m.e.g.j.JsonPayloadHandler] [19:33:29]: Failed to handle tagPath - not adding tag: a/b/tag@2 - Remove it from future payloads