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.createDynamicChain(chainInstanceId, channels, chainDefnName, ...), 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.