Enabling the Legacy Lookup Strategy
The legacy lookup strategy is the entity lookup strategy from TIBCO BusinessEvents version 5.x where an entity instance can be fetched or loaded into working memory by specifying its Long ID or extId with or without specifying its URI.
In TIBCO BusinessEvents version 6.3.0, the legacy lookup strategy is disabled and the migrated projects use the new ID (Key-based Lookup) implementation by default. To continue using the legacy ID in the migrated TIBCO BusinessEvents projects, follow the process:
- Procedure
- To use the legacy ID mode, set the following properties:
Property Location Action be.engine.id.useLegacystudio.trafile
located atBE_HOME/bin/studio/eclipse/configuration/Set the property to true.The property already exists in thestudio.trafile in the commented out form.be-engine.trafile
located atBE_HOME/bin/or project CDD file at the cluster level
For runtime configuration, add the property and set it to true.be-storedeploy.trafile
located atBE_HOME/bin/or project CDD file at the cluster level
For JDBC deployment, before creating the SQL scripts in Studio or with the
be-storedeployutility on command line, add the property and set it totrue.TIBCO.BE.function.
catalog.getbykeysstudio.trafile
located atBE_HOME/bin/studio/eclipse/configuration/Set the property to
falseto use legacy ID.Note: If the the value of the Legacy Id for previous version is set totruein the pom.xml file, then it is set totruein the current version. -
Restart TIBCO BusinessEvents Studio.
- The
Cluster.DataGrid.catalog function is available for use.*ByExtId - The object table is used for store or cache lookups.