The CREATE MODULE statement creates a module, which is a named container associated with a node.
(1) >>-CREATE--+-COMPUTE-------+--MODULE--ModuleName----------------> +-DATABASE------+ +-FILTER--------+ '-DATABASEEVENT-' >--+-------------------------+--END--MODULE-------------------->< | .-<<---;---<<---------. | | V | | '-----ModuleStatement---+-'
A module in the Eclipse tools is referred to from a message processing node by name. The module must be in the <node schema>.
The modules for the Compute node, Database node, and Filter node must all contain exactly one function called Main. This function should return a Boolean. It is the entry point used by a message flow node when processing a message.
Correlation name | Compute module | Filter module | Database module | DatabaseEvent module | ||
---|---|---|---|---|---|---|
Database | x | x | x | x | ||
Environment | x | x | x | x | ||
Root | x | x | x | |||
Body | x | x | ||||
Properties | x | x | x | |||
ExceptionList | x | x | x | |||
LocalEnvironment | x | x | x | |||
InputRoot | x | |||||
InputBody | x | |||||
InputProperties | x | |||||
InputExceptionList | x | |||||
InputLocalEnvironment | x | |||||
OutputRoot | x | |||||
OutputExceptionList | x | |||||
OutputLocalEnvironment | x | |||||
DestinationList | Deprecated synonym for LocalEnvironment | |||||
InputDestinationList | Deprecated synonym for InputLocalEnvironment | |||||
OutputDestinationList | Deprecated synonym for OutputLocalEnvironment |