Lock Notifications

TIBCO Product and Service Inventory 2.1.0 supports the following features:

  • Sending message notifications using JMS (TIBCO EMS™) messaging system.

  • Enabling or disabling the notifications. The configuration for enabling or disabling notifications is in the $PSI_HOME/seed-data/app-properties/ConfigValues_PSIService.json file. The configuration for using a message notifier, the TIBCO EMS™ is provided in the $PSI_HOME/seed-data/app-properties/ConfigValues_PSIService.json file. You can also keep the default value none. See the Configuration Values topic for more details.

The granting of a lock or the expiry of a lock is asynchronous. Client applications must have channels to receive lock notifications. By default, TIBCO Product and Service Inventory uses JMS topics to receive lock notifications. There are three topics per channel. They are:

Topics Description
com.tibco.inventory.notification.lock.obtained.topic.[tenantId] Used for messages, which indicate that a lock was granted.
com.tibco.inventory.notification.lock.removed.topic.[tenantId] Used for messages which indicate that a lock request was removed by the user or an API interaction.
Note:
  • The message is not sent when the current lock is "unlocked" on an item or party. It is only meant for removal.
  • New lock request to acquire a lock on the item or the party gets a lock obtained notification.
com.tibco.inventory.notification.lock.expired.topic.[tenantId] Used for messages, which indicate that a lock request expired.