WebSphere Message Broker, Version 8.0.0.7
Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS
See information about the latest product version
See information about the latest product version
CREATE MODULE statement
The CREATE MODULE statement creates a module, which is a named container associated with a node.
Syntax
(1) >>-CREATE--+-COMPUTE-------+--MODULE--ModuleName----------------> +-DATABASE------+ +-FILTER--------+ '-DATABASEEVENT-' >--+-------------------------+--END--MODULE-------------------->< | .-<<---;---<<---------. | | V | | '-----ModuleStatement---+-'
Notes:
- ModuleName must be a valid identifier
A module in the Eclipse tools is referred to from a message processing node by name. The module must be in the <node schema>.
Module
names occupy the same symbol space as functions and procedures defined
in the schema. That is, modules, functions, and procedures contained
by a schema must all have unique names.
Note: You are warned if there
is no module associated with an ESQL node. You cannot deploy a flow
containing a node in which a module is missing.
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.
The modules for the DatabaseInput node must contain
the following entry points:
- ReadEvents
- This procedure gets details of events to be processed from your event store.
- BuildMessage
- This procedure builds the message that will be propagated to the flow.
- EndEvent
- This procedure updates the event table to ensure that this event is not processed again.
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 |