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 channel

This example (makeChannel.Java) creates a creates a Nirvana channel.

Java -DRNAME=someRNAME -DTTL=ttl -DCAPACITY=capacity -DTYPE=R/P/M/S -DSTARTEID=num -DCHANNAME=somename com.pcbsys.Nirvana.apps.makeChannel

where :
RNAME is the realm name of the Nirvana server you wish to connect to (e.g. nsp://localhost:9000 ).
CHANNAME is the name of the channel to create.
TYPE is the channel type. This can be reliable<R>, Persistent<P>, Mixed<M> or Simple<S>
TTL is the time to live for the events on this channel
CAPACITY is the maximum number of events on the channel
STARTEID is the eid to assign to the first event published. The default behaviour is zero.