com.apama.file
Event OpenFileForReadingToContext


The OpenFileForReadingToContext event is a signal to the FileAdapter to open the files specified in order to read lines and deliver back events to the specified context.

A FileHandle event will be sent back if the file has been opened successfully. It will be in response to the OpenFileForReading event specified here.

The OpenFileForReadingToContext event and all other file adapter events must not be sent directly to the adapter, but rather sent to the correlator's main context, where the adapter service monitor runs.

Subsequent ReadLines events should also be sent to the correlator's main context.
Member summary
 contextinstanceContext

The context that file adapter events should go to for processing, It is usually the context the monitor itself is running in i.e. context.current().
 stringfileChannel

The name of the channel the File adapter is using. Default configuration: "FILE".
 com.apama.file.OpenFileForReadingfileEvent

The standard OpenFileForReading event.
 
Member detail

fileChannel

            string fileChannel
        
The name of the channel the File adapter is using. Default configuration: "FILE".

fileEvent

            com.apama.file.OpenFileForReading fileEvent
        
The standard OpenFileForReading event.

instanceContext

            context instanceContext
        
The context that file adapter events should go to for processing, It is usually the context the monitor itself is running in i.e. context.current().