Various collaboration objects used in the Product Information Management for Retailers solution can initiate the storage, retrieval, updating, or deletion of a business object to or from an item store.
To enable persisting the item in the local item store, set an ItemValidation or Process_Reviewed_Item collaboration object's configuration property RETAIN_ITEM_IN_LOCAL_STORE to true; an ItemDispatcher collaboration object persists by default. ItemValidation and ItemDispatcher collaboration objects then send the business object with a Create verb to their LocalItemStore ports; the ItemDispatcher collaboration object to its LocalItemStore port; and the Process_Reviewed_Item collaboration object, to its local_store port.
The ItemValidation and ItemDispatcher collaboration objects' LocalItemStore ports, and the ItemCollector and Process_Reviewed_Item collaboration objects' local_store ports, are all bound to a persistence mechanism. In the context of the Product Information Management for Retailers solution, this mechanism is an ItemStore collaboration object.
The ItemStore collaboration object receives the business object on its From port and, through a series of interactions with the IBM® WebSphere® Business Integration Data Handler for XML (which are detailed per command in ItemStore collaboration template), stores, retrieves, updates, or deletes the item. When the collaboration object retrieves an item, it returns it to the calling collaboration object. The key to this record in the item store is saved in the internals.correlationID attribute of the Retail_Item business object.
Parent topic: Using identifier, message, and item stores