WebSphere brand IBM WebSphere Sensor Events, Version 6.2

WBE

The WBE Reusable Component allows WebSphere® Sensor Events application developers to forward tag read events to WebSphere Business Events to be processed by the rules engine. In WebSphere Business Events, Event Flows and Interaction Sets define the rules that are processed when the tag read enters WebSphere Business Events.

WebSphere Business Events must be installed in order to use the WBE Reusable Component.

When defining Event Flows and Interaction Sets, use the files found in the IBM_RFID_HOME\install\wbe directory. The WebSphereSensorEventsProject.xml file in that directory contains the WebSphere Business Events definition for the WebSphere Sensor Events TagRead events, Event objects, Intermediate objects, and sample Actions.

WebSphere Sensor Events configuration

Table 1. WBE agent properties
Name Description PID Agent properties
WBEAgent RUC WBE Agent com.ibm.premises.reusable.wbe.WBEAgent
  • generate.output.failure=rucresponse/wbe/generate/failure
  • generate.output.success=rucresponse/wbe/generate/success
  • include.location.context=false
  • publish.outbound.parameter.key=wbe.action
  • publish.outbound.topic=wbe
  • publish.output.failure=rucresponse/wbe/publish/failure
  • publish.output.success=rucresponse/wbe/publish/success
  • publishoutbound.output.failure=rucresponse/wbe/publishoutbound/failure
  • publishoutbound.output.success=rucresponse/wbe/publishoutbound/success
  • wbe.local.jms.topic=jms/eventTopic
  • wbe.location=local
  • wbe.port=9080
  • wbe.url=http://localhost
  • wbe.version=6.2
  • wbe.xsltransform=none

WebSphere Application Server configuration

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

Methods

Using the WBE Reusable Component

To invoke the WBE 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.


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.