We have conditional requests on things- HTTP API or Ditto Protocol headers. Is there a way to restrict payload to get published into a topic in the ditto connections unless a conditional request is matched?
For example, in my twin I have a feature "connectionState" with value "Disconnected". I want to restrict publishing ditto protocol messages to a topic to update other features when the connectionState is Disconnected. Once the connectionState is "Connected", I want all the ditto protocol messages that have been published to update all the other features.
Is there such conditional request for ditto connections?