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

Peeking (Browsing) a Nirvana queue

This example (QPeek.Java) peeks at events on a Nirvana queue. This program is provided in the apps directory of the Nirvana client install. This class performs non-destructive reads on the queue.

Java -DRNAME=someRNAME -DDEBUG=num -DCOUNT=num -DSELECTOR=evtSelector -DQUEUENAME=Qname com.pcbsys.Nirvana.apps.QPeek

where

RNAME is the realm name of the Nirvana server you wish to connect to (e.g. nsp://localhost:9000 ).
DEBUG is how verbose the output should be. 0 = none; 1 = summary, 2 = EIDs only , 3 - eids and data
COUNT is the number of events to wait for before printin out summary information
SELECTOR is the event filter string to use. The default is no filter.
QUEUENAME is the name of the Nirvana queue you wish to browse