WebSphere Message Brokers
File: as01540_
Writer: Lorraine Waitt

Concept topic

This build: July 31, 2007 21:37:00

Execution model

The execution model is the system used to execute message flows through a series of nodes.

When an execution group is initialized, the appropriate loadable implementation library (LIL) files are made available to the runtime environment. The execution group runtime process starts, and creates a dedicated configuration thread. In the message flow execution environment, the message flow is thread-safe. You can run message flows concurrently on many operating system threads, without having to consider serialization issues. Do not compromise this threading model in your implementation of user-defined nodes. Consider the following points:

As an example, consider a message flow in which you use both user-defined nodes and parsers. You use a user-defined node to process messages, and a user-defined parser to parse messages; both the node and parser contain implementation functions. The broker calls the implementation functions, or callback functions, when certain events occur:

The broker invokes the user-defined parser on one of its implementation functions, for example cpiParseFirstChild. This function instructs the parser to build the parse tree. The parser builds the tree by invoking utility functions that create elements in the parse tree, for example cpiCreateElement. The parser can be called many times by the broker.

Related concepts
Runtime environment
Brokers
Execution groups
Message flows overview
Threading
Related tasks
Designing a message flow
Related reference
C language user-defined node API
C language user-defined parser API
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:37:00

as01540_ This topic's URL is: