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 emitted directly to the adapter, but rather enqueued to the correlator's main context, where the adapter service monitor runs.

Subsequent FileLine events should also be enqueued 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.
 com.apama.file.OpenFileForWritingfileEvent

The standard OpenFileForWriting event.
 
Member detail

fileChannel

string fileChannel
The name of the channel the File adapter is using.

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().