This is archived documentation for an older version of Nirvana (v2.0). Please refer to documentation for the latest version if required.

Publish events to a Nirvana queue

This example (QPublish.Java) publishes events onto a Nirvana queue. This program is provided in the apps directory of your Nirvana client install.

Java -DRNAME=someRNAME -DCOUNT=number -DSIZE=eventSize -DQUEUENAME=Qname com.pcbsys.Nirvana.apps.QPublish

where :
RNAME is the realm name of the Nirvana server you wish to connect to (e.g. nsp://localhost:9000 ).
COUNT is the number of events you wish to publish to the Nirvana queue.
SIZE is the size of the events to publish (in bytes). All events will be published by the sample will be this size.
QUEUENAME is the name of the queue to publish events to.