Child pages
  • Examples

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

options

long

description

-?

--help

Displays this message

-e

--error

Show stacktrace information

-h

--host <arg>

The host name of the server (or group name for multicast)

-m

--template <arg>

Message template definition file

-p

--port <arg>

Port to connect to

-tr

--protocol <arg>

Protocol [tcp|udp] defaults to tcp

...

fast2xml.bat data.fast data.xml

Producer/Consumer Demo

The bin directory contains template and data files that the producer and consumer examples can use to communicate.

Use

On Windows

In separate shells, run:

producer.bat -p 13000 -t FASTTestTemplate.xml -x data.xml
consumer.bat -p 13000 -t FASTTestTemplate.xml

On GNU/Linux, etc.

In separate shells, run:

sh producer.sh -p 13000 -t FASTTestTemplate.xml -x data.xml
sh consumer.sh -p 13000 -t FASTTestTemplate.xml