WebSphere Message Brokers
File: as07450_
Writer: Lorraine Waitt

Reference topic

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

cniEvaluate

Performs node processing. The broker invokes this function when a message is received on one of the input terminals of an instance of a node object. The function forms the main logic of the message processing node or output node. It is not used with input nodes.

You must define a function table before you call this function.

The responsibilities of the node at this point are to:
  1. Process the message in accordance with the values of any attributes on the node instance.
  2. Process the message based on content, if desired.
  3. Propagate the message to any appropriate output terminals.
  4. Throw an exception if an error occurs.
Defined In Type Member
CNI_VFT Conditional iFpEvaluate

Syntax

void cniEvaluate(
  CciContext  *context,
  CciMessage  *localEnvironment,
  CciMessage  *exceptionList,
  CciMessage  *message);

Parameters

context
The address of the context for the instance of the node, as created by the node and returned by the cniCreateNodeContext function (input).
localEnvironment
The address of the input local environment object (input).

For compatibility with earlier versions, you can refer to this parameter as destinationList.

exceptionList
The address of the exception list for the message (input).
message
The address of the input message object (input).
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:11

as07450_ This topic's URL is: