WebSphere brand IBM WebSphere Sensor Events, Version 6.2

Inference

The Inference Reusable Component infers the presence of tags based on aggregations from the back-end system. It uses previously recorded aggregations to infer parent, children, and sibling relationships.

These queries are currently supported on the ruc.targetBackend value of ruc.its only.

WebSphere Sensor Events configuration

Table 1. Inference agent properties
Name Description PID Agent Properties
InferenceAgent RUC Inference Agent com.ibm.premises.reusable.inference.InferenceAgent
  • ruc.targetBackend=ruc.its
  • children.output.success=rucresponse/inference/children/success
  • children.output.failure=rucresponse/inference/children/failure
  • parent.output.success=rucresponse/inference/parent/success
  • parent.output.failure=rucresponse/inference/parent/failure
  • siblings.output.success=rucresponse/inference/siblings/success
  • siblings.output.failure=rucresponse/inference/siblings/failure

WebSphere Application Server configuration

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

Using the Inference Reusable Component

To invoke the Inference 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 values for the JMS topic and eventType. For multi-action Reusable Components, the topic is checked in the message selector and in the MDB code.

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:
  • RUCMDBRESULT1 -> Map1
  • RUCMDBRESULT2 -> Map2
  • RUCMDBRESULT3 -> Map3

Methods


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.