Causes the broker to request parsers that support the finalize feature to perform their finalize processing on the specified message. The behavior of this processing is specific to each parser.
If the options parameter is set to CCI_FINALIZE_VALIDATE, a parser should also perform validation processing to ensure that the element tree owned by it is of the correct structure. This helps prevent messages with incorrectly formed element trees being propagated to other nodes in the message flow.
It is recommended that cniFinalize is called before propagating a message (for example, before calling cniWriteBuffer).
None. If an error occurs, the returnCode parameter indicates the reason for the error.
cniFinalize(&rc, outMsg, CCI_FINALIZE_NONE); retvalue = cniPropagate( &rc, terminalObject, destinationList, exceptionList, outMsg); /* Handle errors */
Related concepts
User-defined Input nodes
User-defined message processing nodes
User-defined output nodes
Related tasks
Creating an input node in C
Creating a message processing node in C
Related reference
C language node utility functions
cniCreateMessage
cniDeleteMessage
cniGetEnvironmentMessage
cniGetMessageContext
cniPropagate
cniWriteBuffer
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
as07590_ |