IBM Integration Bus, Version 9.0.0.8 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

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 parameter 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*/

as35970_.htm | Last updated Friday, 21 July 2017