Using Universal Messaging connectivity from EPL
In EPL, in order to receive events from a Universal Messaging channel, you just need to subscribe to a channel with the appropriate prefix:
on all EventTypeOnUM() { ... }
monitor.subscribe("um:UMChannelName");
This creates a chain with a channel pattern matching um:UMChannelName and subscribe to UMChannelName on the connected realm. Events from that channel are delivered to the context after being parsed by the chain.
To send to a Universal Messaging channel, you just need to use the send...to statement to deliver an event to that channel name:
send EventTypeOnUM() to "um:UMChannelName";
This will use the same chain definition as above to deliver the mapped event to the Universal Messaging channel UMChannelName.