com.softwareag.connectivity
Event ConnectivityPlugins
Utilities for interacting with Connectivity Plug-ins.
Action Summary |
com.softwareag.connectivity.Chain | static createChain(string instanceName, sequence<string > channels, string chainDefnName, dictionary<string, string > repl)
Create a chain from the given chain definition listed in dynamicChains in the configuration file. |
void | static onApplicationInitialized()
Should be called by EPL applications after all EPL has been injected and initialized, to indicate that the application is ready to receive events from connectivity plug-ins. |
createChain
com.softwareag.connectivity.Chain static createChain(string instanceName, sequence<string > channels, string chainDefnName, dictionary<string, string > repl)
Create a chain from the given chain definition listed in dynamicChains in the configuration file.
-
Parameters:
-
instanceName - The name of this particular instance (for logging)
-
channels - The list of channels this chain should subscribe to
-
chainDefnName - The name of a chain defined in dynamicChains in the configuration file
-
repl - Replacement dictionary for the chain configuration
-
Returns:
- A Chain object which can be used to delete this chain later.
onApplicationInitialized
void static onApplicationInitialized()
Should be called by EPL applications after all EPL has been injected and initialized, to indicate that the application is ready to receive events from connectivity plug-ins.
This will also enable reception of JMS events if correlator-integrated JMS is enabled (i.e. it implicitly calls JMSPlugin.onApplicationInitialized)
Invoking this action more than once is an error and will throw an exception.