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

Creating a Nirvana queue

This example (makeQueue.Java) obtains a reference to a Nirvana queue and deletes it.

Java -DRNAME=someRNAME -DTTL=ttl -DCAPACITY=capacity -DTYPE=R/P/M/S -DQUEUENAME=somename com.pcbsys.Nirvana.apps.makeQueue

where :

RNAME is the realm name of the Nirvana server you wish to connect to (e.g. nsp://localhost:9000 ).
TTL is the time to live for the events on this queue
CAPACITY is the maximum number of events on the queue
TYPE is the queue type. This can be reliable<R>, Persistent<P>, Mixed<M> or Simple<S>
QUEUENAME is the name of the queue to create.