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 channel

 

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

Java -DRNAME=someRNAME -DCOUNT=number -DSIZE=eventSize -DCHANNAME=somename com.pcbsys.Nirvana.apps.publish

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 channel.
SIZE is the size of the events to publish (in bytes). All events will be published by the sample will be this size.
CHANNAME is the name of the channel to publish events to.