EPL and UM channels
In an Apama application that is configured to use UM, you write EPL code to subscribe to channels and to send events to channels as you usually do. The only difference is that you cannot specify the default channel (the empty string) when you want to use a UM channel. You must specify a UM channel name to use UM.
A monitor that subscribes to a UM channel causes its containing context to receive events delivered to that channel. There is nothing special you need to add to your EPL code.
Using UM channels makes it easier to scale an application across multiple correlators because UM channels can automatically connect parts of the application as required. If you use the EPL integer.getUnique() method remember that the return value is unique for only a single correlator. If a globally unique number is required you can concatenate the result of integer.getUnique() with the correlator's physical ID. Obtain the physical ID from the Apama Management interface correlator plug-in with a call to the getComponentPhysicalId() method.