The Retrieve verb

This flow shows the process logic for this collaboration template's Retrieve verb.

Retrieve Flow

  1. A DataStore collaboration object is triggered by the receipt of a SampleObject business object from a source collaboration object. The triggering business object passed into the DataStore collaboration object must contain values for all the fields that make up the ObjectKey attribute of the stored SerialObject application specific business object, as defined by the value of the OBJECT_KEY configuration property in the DataStore collaboration object.
  2. The DataStore collaboration object builds a new SerialObject application specific business object, which includes two attributes:
    • ObjectData, which is NULL.
    • ObjectKey, which is created from the key information in the SampleObject business object and the value of the DataStore collaboration object's OBJECT_KEY property (by default, uniqueId). This attribute holds the unique key used to store the object in the database.
  3. The newly created SerialObject is passed to the JDBCConnector via the DestinationAppRetrieve port.
  4. Using the value in the ObjectKey attribute of the new SerialObject to locate the stored object in the database, the JDBCConnector retrieves the information in the ObjectData column from the stored object, copies this information into the ObjectData attribute of the new SerialObject, and passes the new SerialObject back to the DataStore collaboration object.
  5. The DataStore collaboration object passes the SerialObject to the IBM® WebSphere® Business Integration Data Handler for XML. The data handler uses the information in the ObjectData attribute to build a DataStoreSampleObject business object. The data handler passes this object back to the DataStore collaboration object.
  6. The DataStore collaboration object converts the DataStoreSampleObject business object into a SampleObject business object, which is returned to the calling collaboration object as the triggering business object.

Parent topic: Overall process logic