Using the RawRVMsg2 Schema

Once you have the RawRVMsg2 schema in your project, you can reference it in any Input Editor or Output Editor tab on any activity in the TIBCO Rendezvous palette. To use the RawRvMsg2 schema, perform the following;

Procedure 

  1. Create a root element in the Input/Output Editor tab with the Add Child button.

    Note: You can only use the msg element of the RawRVMsg2 schema on the root element in the schema you create in the Input or Output Editor tab. Do not attempt to use this schema for any element that is not the root of the schema.
  2. Select XML Element Reference in the Content field on the right.

  3. Use the Browse Resources button in the Schema field to locate and select the RawRVMsg2 schema.

Once the schema is selected, it becomes the schema for incoming or outgoing message bodies.

You can use XPath expressions to extract the desired field from the generic RawRvMsg2 schema. For example, your process begins with a Rendezvous Subscriber activity and you want to perform processing on incoming messages that have a field named "orderType" with a value of "incomingOrder", you would use the following XPath expression to determine which messages meet that criteria:

$Rendezvous-Subscriber/ActivityOutput/body/pfx:field/pfx:name 
   = "orderType"
and $Rendezvous-Subscriber/ActivityOutput/body/pfx:field/pfx:simple
   = "incomingOrder"

For more information about XPath, see TIBCO ActiveMatrix BusinessWorks™ Process Design.