RTView® 
User Guide


TIBCO Rendezvous Data Simulator

TIBCO Rendezvous Data Simulator
A TIBCO Rendezvous data simulator is provided to allow customers to work with RTView without setting up their own messages. The simulator creates, updates, and sends out messages with the following subjects:

  • orders.STATUS.Belfast
  • orders.STATUS.Chicago
  • orders.STATUS.Denver
  • orders.STATUS.HongKong
  • orders.STATUS.London
  • orders.STATUS.Madrid
  • orders.STATUS.Mazatlan
  • orders.STATUS.Moscow
  • orders.STATUS.Palo Alto
  • orders.STATUS.Seattle
  • orders.STATUS.Tokyo
  • WEATHER.REGIONAL.WEST
  • WEATHER.REGIONAL.EAST
Running the Simulator

On Windows
You can start from either the Windows Start Menu or the Command Prompt window.

From the Windows Start Menu:
 
Select Start-->Programs-->RTView-->Demos-->Simulator-->TIBCO Rendezvous Simulator

From an initialized command window :
 
type run_rvsimdata

On UNIX
From an initialized terminal window :
 
type run_rvsimdata

By default, the simulator runs in rvd mode. You may run the simulator in rva mode by using the -rva command line parameter.

NOTE: The TIBCO Rendezvous Agent Process (rva) must be running before you start the simulator in rva mode.  The rva/rvd mode of the simulator must match the mode of RTView in order to work correctly.  By default, the Display Builder and Display Viewer Application run in rvd mode.  The Display Viewer Applet always runs in rva mode. See Communicating with TIBCO Rendezvous for more information on rva and rvd.

NOTE: You must run the TIBCO Rendezvous simulator from a command prompt or terminal window to use command line parameters.

Command line parameters for the simulator include:
Name Description
-u (milliseconds) Set update rate in milliseconds. Default is 2000.
-rvservice: Rendezvous Session Service. Default is TIBCO Rendezvous service default.
-rvnetwork: Rendezvous Session Network. Default is TIBCO Rendezvous network default (primary network interface for the host computer).
-rvdaemon: Rendezvous Session Daemon. Default is TIBCO Rendezvous daemon default (local daemon on TCP socket 7500).
-rva Run in rva mode.
-rvahost: Name of host running rva. The default is the local host. This option is only used if running in rva mode.
-rvaport: Port on which rva is running. The default is rva default. This option is only used if running in rva mode.

The data simulator messages for subject orders.STATUS.* contain the following fields:
 
Field Name Field Type Field Description
ORDERNUMBER TibrvMsg.STRING Order number
PERCENTCOMPLETED TibrvMsg.F32 Percent of the order that is completed
PLANT TibrvMsg.STRING Plant name
X TibrvMsg.F32 X location coordinate
Y TibrvMsg.F32 Y location coordinate
UNITSCOMPLETED TibrvMsg.F32 Number of units completed for this order
ORDERDATE TibrvMsg.STRING Date of the order
SCHEDULEDDATE TibrvMsg.STRING Date the order is scheduled for completion
EXPECTEDDATE TibrvMsg.STRING Expected date of completion
CUSTOMER TibrvMsg.STRING Customer name
STATUS TibrvMsg.STRING Order status: WORKING, BROKEN, COMPLETED

The data simulator messages for subject WEATHER.REGIONAL.* contain the following fields and properties:
 
Field Name Field Type Field Description
Name String WEST or EAST
nowPlus1Hr Date Current time plus one hour
NumberReports int Number of weather reports
RegionalData XML String XML string containing weather data
DateStringTimeString String Current time


Message Repository
A Message Repository file is used to populate the initial values of drop down menus in the Attach to Data and Define Command dialogs. See Application Options for information on how to create a Message Repository file.

A sample file, rvrepository.xml, is provided for use with the TIBCO Rendezvous data simulator. In order to work without a Message Repository, move this file out of the lib directory (which is located in your installation directory).

It is possible to edit an existing Message Repository file, however the file name rvrepository.xml cannot be modified. If rvrepository.xml is not found in the specified directory or your current working directory, RTView will look in the lib directory. If the Message Repository file is not found, drop down menus will remain empty until message subjects are added from the Application Options dialog or typed directly into the Attach to Data dialog.

To edit an existing Message Repository file, supported tags and attributes are as follows:
 
Tag Attribute Description
rvrepository xmlns Top level tag that includes the namespace attribute xmlns, which must be defined as www.sl.com (xmlns="www.sl.com")
subject name Subject name
field name Field name
choice Possible field value

An example Message Repository file:

<?xml version="1.0"?>
    <rvrepository xmlns="www.sl.com">
        <subject name="orders.STATUS.London">
            <field name="ORDERNUMBER" type="TibrvMsg.STRING"/>
            <field name="PERCENTCOMPLETED" type="TibrvMsg.F32"/>
            <field name="PLANT" type="TibrvMsg.STRING"
                choice="London Plant1"
                choice="London Plant2"/>
            <field name="X" type="TibrvMsg.F32"/>
       <field name="Y" type="TibrvMsg.F32"/>
       <field name="UNITSCOMPLETED" type="TibrvMsg.F32"/>
       <field name="ORDERDATE" type="TibrvMsg.STRING"/>
       <field name="SCHEDULEDDATE" type="TibrvMsg.STRING"/>
       <field name="EXPECTEDDATE" type="TibrvMsg.STRING"/>
           <field name="CUSTOMER" type="TibrvMsg.STRING"/>
            <field name="STATUS" type="TibrvMsg.STRING"
       choice="WORKING"
       choice="BROKEN"
       choice="COMPLETED"/>
        </subject>
    </rvrepository>
 
   


 
SL, SL-GMS, GMS, RTView, SL Corporation, and the SL logo are trademarks or registered trademarks of Sherrill-Lubinski Corporation in the United States and other countries. Copyright © 1998-2012 Sherrill-Lubinski Corporation. All Rights Reserved.

 

JMS, JMX and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. They are mentioned in this document for identification purposes only. 

 

Third Party Notice Requirements