The Validation Reusable Component queries the back-end system to validate whether or not the tags passed to the validate method are currently commissioned. A list of tag EPCs are extracted from the input event and validated against the commissioning history. Non-commissioned tags mean that the tag has never been commissioned or the tag has more recently been decommissioned.
If any tags are not currently commissioned, the validate call returns false. The Validation Reusable Component does not report if multiple tags are passed, specify which tags are not commissioned, or provide details about if or when tags has been decommissioned.
If the call returns true, all tags passed are ready to be observed by the sensor network.
Name | Description | PID | Agent properties |
---|---|---|---|
ValidationAgent | RUC Validation Agent | com.ibm.premises.reusable.validation.ValidationAgent |
|
See Configuring the messaging interface for the WebSphere® Application Server configuration details.
To invoke the Validation 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:
To publish to Reusable Components MDBs, set the following values 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.