WebSphere Message Brokers
File: as35970_
Writer: Lorraine Waitt

Reference topic

This build: July 31, 2007 21:38:57

cciGetSourceNode

This function returns a handle to the upstream node of a given connection.

Syntax

CciNode*  cciGetSourceNode(int*                    returnCode,
                                                 CciConnection * connection);

Parameters

returnCode (output)
Receives the return code from the function.
connection
This is a handle to a connection on the output terminal of the requested node.

Return values

A handle to the node that is on the source side of the connection.

Example

void myPropagatedMessageCallback(
                        CciMessage*    message,
                        CciMessage*    localEnvironment,
                        CciMessage*    exceptionList,
                        CciMessage*    environment,
                        CciConnection* connection){
    …
    …
   
   int rc = CCI_SUCCESS;
   CciNode* sourceNode = cciGetSourceNode(&rc,
                                          connection);
   /*you should now check the rc for unexpected values*/
Related concepts
User exits
Related tasks
Developing a user exit
Notices | Trademarks | Downloads | Library | Support | Feedback

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

as35970_ This topic's URL is: