General steps for using Universal Messaging in Apama applications
Before you perform the steps required to use Universal Messaging in an Apama application, consider how your application uses channels. You should know which components need to communicate with each other, which events travel outside a correlator, and which events stay in a single correlator. Understand what channels you need and decide which channels should be Universal Messaging channels and which, if any, should be Apama channels.
For an Apama application to use Universal Messaging, the tasks you must accomplish are:
1. Use Software AG Installer to install both Apama and the Universal Messaging client libraries in the same Software AG installation directory.
Note:
In addition to using
Software AG Designer to add bundles, you can also do this using the
apama_project command-line tool. See
Creating and managing an Apama project from the command line for more information.
4. Open the
UM.properties file in your Apama project and specify the location of the
Universal Messaging realm server(s) you wish to connect to. You can optionally edit the
UM.yaml file if you need to perform more advanced configuration tasks, such as enabling authentication or customizing the way
Universal Messaging messages are mapped to Apama events. See
Configuring the
Universal Messaging
connectivity plug-in for detailed information.
5. In your EPL code, subscribe to receive events delivered on
Universal Messaging channels. See
Subscribing to channels.