Apama Documentation : Connecting Apama Applications to External Components : Standard Connectivity Plug-ins : The MQTT Transport Connectivity Plug-in : Configuring the dynamicChainManagers
Configuring the dynamicChainManagers
You configure one or more dynamicChainManagers to connect to different MQTT brokers. For example:
dynamicChainManagers:
mqttManager:
transport: mqttTransport
managerConfig:
brokerURL: tcp://localhost:1883
Connection-related configuration is specified in the managerConfig stanza on the dynamicChainManagers instance. The following configuration options are available for managerConfig:
Configuration option
Description
brokerURL
URL for the MQTT broker. For example:
tcp://localhost:1883
channelPrefix
Prefix for dynamic mapping. If the prefix ends with a colon (:), it needs to be enclosed in quotation marks (see also Using YAML configuration files).
When the channel is mapped to an MQTT topic, the prefix is not used. For example, if the prefix is "mqtt:", then the channel mqtt:test/a maps to the MQTT topic test/a.
Default value: "mqtt:".
authentication/username
User name for authentication.
authentication/password
Password for authentication.
Copyright © 2013-2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback