Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Collocated Query and Inference Agents

The inference agent can process and enrich the event data, create concepts, modify concepts, and so on. The query agent can send events to the inference agent using a local channel.

Inference agent rules can process the data and send an event to the query agent (where another query is listening for that event), or send the event out of the node.

Tip: Modifying concepts retrieved from a query agent
The inference agent can modify concepts retrieved from a query agent using the following functions. Use the appropriate function for the type of cluster:

For Legacy ActiveSpaces clusters:

    Cluster.DataGrid.CacheLoadEntity(concept)

As with all actions that modify concepts, ensure that correct locking is used before executing the query.

The rule `ExecuteSelectInQueryAgent`, in the following example project demonstrates this technique:

    BE_HOME/examples/event_stream_processing/CollocatedInferenceAndQuery

The collocated inference agent can use Cache OM or In Memory OM. Performance of In Memory OM systems is very high. However, the processing potential of Cache OM is greater because the inference agent has access to all the cache data as well as the data in memory. Choose the option that fits your needs.

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.