Unable to select Subscription Preprocessor in CDD File.
book
Article ID: KB0090869
calendar_today
Updated On:
Products
Versions
TIBCO BusinessEvents Enterprise Edition
-
Not Applicable
-
Description
Resolution: Description: ========= Unable to select Subscription Preprocessor in CDD file for a Cache/Cache+Memory Domain object even though there is a Rule Function that performs the role of a Subscription Preprocessor.
Environment: ========= Operating System(s): All
Symptoms: ========= In the Subscription Preprocessor selector pop up dialog, the Rule function is not shown.
Cause: ========= If the return type of Subscription Preprocessor Rule function is non-boolean then the Rule function is not shown in Subscription Preprocessor selector pop up dialog.
Resolution: ========= The required signature for a subscription preprocessor is as follows: boolean FunctionName(long id, String extId, int typeId, int version, boolean isDeleted)
Subscription Preprocessor listens to the subscribed entity typeids in the cache for any cache updates. If there are any updates then the preprocessor will get called but the return boolean value is used to determine if the local node's data/rete network needs to be updated or not. By returning false it simply bypasses further processing.
Issue/Introduction
Unable to select Subscription Preprocessor in CDD File.