com.apama.file
Event OpenFileForWritingToContext


The OpenFileForWritingToContext event is a signal to the FileAdapter to open the files specified in order to write 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 OpenFileForWriting event specified here.

The OpenFileForWritingToContext 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 FileLine 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.OpenFileForWritingfileEvent

The standard OpenFileForWriting event.
 
Member detail

fileChannel

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

fileEvent

            com.apama.file.OpenFileForWriting fileEvent
        
The standard OpenFileForWriting 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().