WebSphere Message Broker, Version 8.0.0.7
Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS
See information about the latest product version
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*/