About the NumCompute sample
This sample demonstrates how a C user-defined message processing
node can be used
as a compute node.
The following figure shows the NumCompute sample message flow:

The NumCompute node performs several calculations,
then
adds the results of the calculations to the output message.
- The NumCompute node performs the following calculations, where
Num1, Num2, Num3, and Result are integers:
Num3 = Num1 * Num2
Num2 = Num1 * Num3
Result = (Num1 * Num2 * Num3)
- The values of Num1, Num2, Num3, and Result are added to the
output message.
This sample uses the following queues:
- UDESAMPLE.NUMCOMPUTE.IN
- UDESAMPLE.NUMCOMPUTE.OUT
- UDESAMPLE.NUMCOMPUTE.FAILURE
About the user-defined extension sample
Back to sample home