Targets
This section contains information regarding destinations of messages.
Multiple target destinations are supported.
Additionally you can choose which types of messages should be sent to this target, e.g.
Thing twin events
Thing live events
Thing live commands
Thing live messages
Find details at Protocol.
Target placeholders
Target addresses may also contain placeholders, similar to source authorization subjects. Placeholders can be used to control where the messages are published to.
Instead of using one fixed target address, the target address can be made dependent of thing specific information.
The following placeholders are available:
Placeholder |
Description |
Example |
{{ thing:id }} |
Full ID composed of namespace + : as a separator + name |
com.bosch:thing-42 |
{{ thing:namespace }} |
Namespace (i.e. first part of an ID) |
com.bosch |
{{ thing:name }} |
Name (i.e. second part of an ID ) |
thing-42 |
Placeholders supported for connection targets
A connection will send messages and events to the targets configured within the connection.
A target configuration comprises the address and the authorization.
Find examples at https://www.eclipse.org/ditto/basic-placeholders.html