WebSphere brand IBM WebSphere Sensor Events, Version 6.2

Info

The Info Reusable Component queries the back-end system for detailed master data information for tags. It can be considered a more detailed version of the Locating Reusable Component because it returns information from the master data repository in addition to returning the most recently observed event.

The input attributes for the Info Reusable Component are:

info.key.itemInfo
The value of the specific key used in the EPCIS master data query.
info.key.masterData
The value that corresponds to the product or vocabularyName used in making an EPCIS master data query.

This query is supported only when you are using ruc.its as the ruc.targetBackend property value.

WebSphere Sensor Events configuration

Table 1. Info agent properties
Name Description PID Agent properties
InfoAgent RUC Info Agent com.ibm.premises.reusable.info.InfoAgent
  • ruc.targetBackend=ruc.its
  • info.output.success=rucresponse/info/getinfo/success
  • info.output.failure=rucresponse/info/getinfo/failure

WebSphere Application Server configuration

See Configuring the messaging interface for the WebSphere® Application Server configuration details.

Methods

Using the Info Reusable Component

To invoke the Info Reusable Component using IBM® Sensor Events or XML, the payload must include:

Generic payload created from a map can also be used. It must include either of the following:

Note: TAG_KEY_INOUT takes a String value. TAGLIST_KEY_INOUT takes a value of java.util.List populated with Strings.

To publish to Reusable Components MDBs, set the following value for the JMS topic and eventType. For single-action Reusable Components, the topic is only checked in the message selector.

The JMS topic and eventType for the MDB output from the Reusable Component comes from the agent properties. Default output topics for success and failure for each action are shown in Table 1. The payload includes a group with the name ObjectEventConstants.RUCMDB_RESULT_KEY_OUT with a counter appended for every event map returned. For example:


Library | Support | Terms of use

(c) Copyright IBM Corporation 2004, 2009. All rights reserved.
U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.