Apama Documentation : Connecting Apama Applications to External Components : Working with Connectivity Plug-ins : Using Connectivity Plug-ins : Static and dynamic connectivity chains
Static and dynamic connectivity chains
Connectivity chains can be created in three different ways:
1. Statically using the startChains section of a YAML file.
2. Dynamically by having EPL call ConnectivityPlugins.createChain(chainInstanceId, channels, chainDefinitionId, ...), using chain definitions specified in dynamicChains. See Creating dynamic chains from EPL.
3. Dynamically by a transport chain manager plug-in, using chain definitions specified in dynamicChains. Typically, a manager creates a chain in response to an EPL application subscribing or sending to a channel with a specific name or prefix, or to handle incoming connections initiated externally (for example, over a TCP socket). See Requirements of a transport chain manager plug-in class.
Chains involving a transport plug-in that is not implemented with a dynamic chain manager can be created either statically (1) using startChains or dynamically from EPL (2) using parameterized chain definitions specified under dynamicChains.
On the other hand, chains involving transport plug-ins that are implemented with a dynamic chain manager can only be created dynamically by the chain manager (3), and require the use of dynamicChains and dynamicChainManagers. See Configuration file for connectivity plug-ins for more details.
Copyright © 2013-2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback