Apama channels | Universal Messaging channels |
Configuration of multiple point-to-point connections. Each execution of engine_connect specifies the correlator to connect to. Each IAF adapter configuration specifies each correlator that adapter connects to. Correlators and IAF adapters require explicitly set connections to communicate with each other. | Specification of the same Universal Messaging realm address or addresses. Startup options for connected correlators specify the same Universal Messaging realm to connect to. Each IAF adapter configuration specifies the same address for connecting to Universal Messaging. Correlators and IAF adapters automatically connect to Universal Messaging to communicate with each other. |
Configuration changes are required when an Apama component is moved to a different host. | No configuration change is needed when an Apama component is moved to a different host if both hosts are connected to the same Universal Messaging realm. |
Outside a correlator, channel subscriptions can be from only explicitly connected Apama components. | Outside a correlator, channel subscriptions can be from any Apama component connected to the same Universal Messaging realm. |
Events sent on an Apama channel go directly to subscribers. | Events sent on a Universal Messaging channel go to the Universal Messaging broker and then to subscribers. |
Connection configurations must be synchronized with application code. | Connection to a Universal Messaging realm is independent of application code. |
Less efficient for sending the same event to many Apama components. | More efficient for sending the same event to many Apama components. |
More efficient when sending an event to a context in the same correlator. The event stays inside the correlator. | Less efficient when sending an event to a context in the same correlator. The event leaves the correlator, enters the Universal Messaging realm, and then returns to the correlator. |
Default channel, the empty string, is allowed. | No default channel. |