Asserting transient concepts into working memory.

Asserting transient concepts into working memory.

book

Article ID: KB0088317

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
Asserting transient concepts into working memory.

Environment:
==========
All Operating Systems
TIBCO BusinessEvents 4.x , 5.0.x

Resolution:
=========
Transient Concepts can be created in two ways as mentioned below.

1).  XML (Example :Concept createTransientInstanceFromXML (String uri, String xml))
This function creates a new Concept instance by deserializing the XML data provided. If uri is null, then the URI will be inferred from the namespace in xml. The form of of the XML data provided is expected to be the same as the output from serialize(). The newly created Concept instance is NOT added to the working memory.

2). Events (Example :Concept createTransientInstanceFromEvent (String uri, SimpleEvent event))
This function returns a concept instance using the payload from the event passed in the event parameter. The payload must adhere to the XML schema corresponding to the concept definition. The concept instance is not asserted (hence it is "transient"). You can then, for example, use the transient concept's property values to update an asserted concept's properties.
    
In both the cases above the transient concepts will not be asserted into memory but the xml string or the event is necessary. So creating a transient concept that will not be automatically asserted into memory without having to use XML or event is not possible .

Issue/Introduction

Asserting transient concepts into working memory.