Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# PreProcessor Rule Function

HTTP is a request-reply protocol, and this step is required so that the HTTP server is ready to process the next request from the `readme.html` form. This rule function executes when an event is received. You can configure that connection later.

## Learning Points

What is an event preprocessor?
An event preprocessor is a rule function that is processed for all incoming messages of the input destination before RTC starts to create the RuleAgenda and trigger the Rules. In this case, the preprocessor is used to guarantee that a response event is send to the HTTP server. In real-world applications, a preprocessor can be used to filter the input events and it can perform other event enrichment actions, such as locking or loading entities from cache. The preprocessor rule functions are multi-threaded even if `Concurrent RTC` is disabled for the Inference Agent class. For each input destination you can configure a threading model. By default, the threading model is set to `Shared Queue`. See the topic Event Preprocessors in TIBCO BusinessEvents Architect Guide.
How are event preprocessors configured for use?
A preprocessor is associated with a destination. It processes events arriving at that destination. See Cluster Deployment Descriptor (CDD) and the EAR File for details.
Note: Locking is used to ensure that multiple concurrent RTCs (whether in the same agent or different agents in a cache cluster) do not work with the same object at the same time, or read an out of date version of the object. Locking is usually done in event preprocessors. See TIBCO BusinessEvents Architect Guide to understand how to use locking to ensure data integrity within and across agents.

## More Information

- See Event Preprocessors in TIBCO BusinessEvents Architect Guide.
- See Event Preprocessors in TIBCO BusinessEvents Developer Guide.

Subtopics

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.