Real Time Information Director User Documentation
RTID Extensibility
Hewlett-Packard Company 32
529618 - 001
Processes all files in the test/testIn directory putting all the responses into the test/testOut
directory
java -Dzli.propertyFile=my.properties Dispatch -o test/testOut -i test/In testFile.xml
Process the testFile.xml file from the test/In directory and put the response in the
test/testOut directory
java -Dzli.propertyFile=my.properties Dispatch -o test/testOut –e
Produces xml schema definition (.xsd) files for all documents found in the DOCCLASS
table and puts them into the test/testOut directory.
HTTP and JMS Drivers
The following drivers are used to test transactions in a configuration with NonStop WLS
and using either HTTP or JMS as the transport. Examples of the use of all of these
drivers in the context of specific tasks are given either in this document, or in the RTID
Deployment module, or in both places.
HttpPost Driver
This driver issues an HTTP ‘Post’ command to the specified url. For detailed syntax
information, see the Javadoc for HttpPost.
Examples:
java -Dzli.propertyFile=my.properties HttpPost -u
11.22.33.44:7001/RTIDServlet/Dispatch -o test/testout -d test/testing
Processes all files in the test/testIn directory, putting all the responses into the test/testOut
directory using the HTTP protocol to communicate with the RTID running on a WLS
server at the specified URL.
java -Dzli.propertyFile=my.properties HttpPost -u
11.22.33.44:7001/RTIDServlet/Dispatch -i test/testIn -l 1000 testFile.xml
Posts the file testFile.xml from the test/testing directory 1000 times. No output is
generated.
QueueReceive Driver
This driver listens on the specified JMS Queue and generates an output file for each
message received on that Queue.
Output files have the format ‘MDB(timestamp).xml.
For syntax information, see the Javadoc for QueueReceive.