Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | 5.4.x |
1). What is the return type of the Thread Affinity Rule Function?
2). When is the Thread Affinity Rule Function called?
1). What is the return type of the Thread Affinity Rule Function.
According to the documentation, the only requirement to the Thread Affinity Rule Function is that the return value could not be NULL. You can define the return type based on your requirement, String, int, long, double should be fine.
2). When is the Thread Affinity Rule Function called?
The Thread Affinity Rule Function, if configured, is used to pick up the thread to which the message will be dispatched. It is called before a message being processed by a Preprocessor.