Deploying and Managing Apama Applications > Event Correlator Utilities Reference > Event file format > Event association with a channel
Event association with a channel
The engine_send utility can send an event file that associates channels with events. Likewise, the engine_receive utility can output an event file that includes the channel on which an event was received. The event format is the same for both utilities:
"channel_name",event_type_name(field_value1[, field_valuen]...)
For example, suppose you want to send Tick events, which contain a string followed by an integer, to the PreProcessing channel. The contents of the .evt file would look like this:
"PreProcessing",Tick("SOW", 35)
"PreProcessing",Tick("IBM", 135)
A channel name is optional. In a file being sent with the engine_send utility, you can mix event representations that specify channels with event representations that do not specify channels. Events for which a channel is specified go to only those contexts subscribed to that channel. Events for which a channel is not specified go to all public contexts.
Copyright © Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its Subsidiaries and or/its Affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.