Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | - |
Not Applicable | - |
Resolution:
Description:
==========
How to pass an array in TIBCO BusinessEvents.
Environment:
===========
TIBCO BusinessEvents 3.x
All Operating Systems
Resolution:
=========
You can pass arrays as Objects in rule/rulefunction.
Object cloneIntArray(Object intArr) {
int[] arr = intArr;
int[] clone = int[intArr@length]{};
for(int ii = 0; ii < arr@length; ii = ii + 1) {
clone[ii] = arr[ii];
}
return clone;
}